Coder Social home page Coder Social logo

storeapp's Introduction

Overview

A sample application showcasing two screens: "Products" and "Product Details." The project adheres to the MVVM pattern with a clean architecture approach, employing a single-module structure. Key libraries, such as Navigation Component, Hilt for dependency injection, Coroutines for asynchronous tasks, Retrofit for network calls, Coil for image loading, and Room for offline caching, are integrated to create a robust and modular Android application.

Project Structure

The project is organized into four packages:

  • di: Contains the dependency injection setup using Hilt.
  • data: Handles data-related operations, including network requests, local storage, and data models.
  • domain: Defines the business logic and use cases of the application.
  • presentation: Houses the UI components, ViewModels, and navigation setup.

Libraries Used

  • Navigation Component: Used for seamless navigation between the "Products" and "Product Details" screens.
  • Hilt: Employs dependency injection to enhance code organization and testability.
  • Coroutines: Facilitates asynchronous operations for efficient background tasks.
  • Retrofit: Makes network requests and interacts with a remote API to fetch product data.
  • Coil: Efficiently loads images, contributing to a smooth user experience.
  • Room: Facilitates offline caching, providing a local database for data storage and retrieval.
  • ViewModel and LiveData: Manages UI-related data in a lifecycle-aware manner.
  • ViewBinding: Reduces boilerplate code related to UI interactions.
  • SwipeRefreshLayout: A library used for swipe layout to update data.

Screenshot

[]

storeapp's People

Contributors

mah99239 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.