You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is an implementation of my recent learning of Android Architecture Components & MVVM architecture. It is a simple note saver app which contains features like Create Note, Update, Delete & Display.
Retrofit is type-safe HTTP client for Android and Java by Square, Inc. It is an open source library which simplifies HTTP communication by turning remote APIs into declarative, type-safe interfaces. It makes it relatively easy to retrieve and upload JSON (or other structured data) via a REST based webservice.
WorkManager is the recommended solution for persistent work. Work is persistent when it remains scheduled through app restarts and system reboots. Because most background processing is best accomplished through persistent work, WorkManager is the primary recommended API for background processing.
Dagger 2 is one of dependency injection framework in Android that can provide us dependencies in a particular class. It’s probably the most used dependency injection framework in Android development. Singleton annotation can be put in other component and as long as the component alive the singleton annotated object will alive as well.
WorkManager is the recommended solution for persistent work. Work is persistent when it remains scheduled through app restarts and system reboots. Because most background processing is best accomplished through persistent work, WorkManager is the primary recommended API for background processing.
Dagger 2 is one of dependency injection framework in Android that can provide us dependencies in a particular class. It’s probably the most used dependency injection framework in Android development.
This is the simple application which was built with using Android Architecture components (ViewModel, LiveData, Paging), Clean Architecture pattern (MVVM)
A simple sleep tracker app for Android made using Kotlin Coroutines, Room, Livedata, ViewModel, Lifecycle extensions and Navigation Components. MVVM design pattern
Instead of using onclick listener for binding.buttton and calling the change() of ViewModel we can directly bind it in <data> tage where we create viewmodal obj and call the change() in button onClick attribute.