1/8/2024 0 Comments Product hunt android app![]() | │ ├── controller # Epoxy controller for RecyclerView │ ├── home # Main screen Fragment and ViewModel │ ├── list # List screen Fragment and ViewModel │ └── repo # Repositories for single source of data ![]() | │ ├── dao # Data Access Object for Room The local data sources will serve as single source of truth. Model: Repository pattern, data layers that provide interface to manipulate data from both the local and remote data sources.ViewModel: It keeps the logic away from View layer, provides data streams for UI and handle user interactions.View: Activity/Fragment with UI-specific logics only.We follow Google recommended Guide to app architecture to structure our architecture based on MVVM, reactive UI using LiveData / RxJava observables and data binding. RxJava - Asynchronous programming with observable streams.(Upcoming) Flow Stream of value that returns from suspend function.(Implementing) Coroutine Concurrency design pattern for asynchronous programming.Epoxy - Simplified way to build complex layout in RecyclerView. ![]() (Implementing) Jetpack Compose - Declarative and simplified way for UI development.WorkManager - Tasks scheduler in background jobs.Navigation component - Fragment routing handler.Data Binding - Declarative way to bind data to UI layout.LiveData - Observable data holder that notify views when underlying data changes.ViewModel - UI related data holder, lifecycle aware.Paging 3 - Pagination loading for RecyclerView.Android Architecture Components - A collections of libraries that help you design rebust, testable and maintainable apps.Retrofit + OkHttp - RESTful API and networking client.Android Architecture Components and Jetpack Compose.It showcases the latest Android tech stacks with well-designed architecture and best practices. MovieHunt is a sample Android project using The Movie DB API based on MVVM architecture.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |