GithubArchitectureComponents
This application is my implementation of the Architecture Components use-case : https://developer.android.com/topic/libraries/architecture/guide.html
You can find the related article on my Medium : https://medium.com/@Phil_Boisney/the-missing-google-sample-of-android-architecture-components-guide-c7d6e7306b8f
PRESENTATION
This simple app is composed of a single screen. When this screen appears, we will fetch (Retrofit) the Github information of Jake Wharton and persist those immediately in the application storage (Room).
Next, when the screen is re-launched (or recreated due to rotation), we will get those same information, first in Room database and only if necessary, refresh those from the Github Api.
PREVIEW
Architecture Components
This application implements the following concepts :
- ViewModel
- LiveData
- Room
Libraries
- Android Support Library
- Android Architecture Components
- Dagger 2 for dependency injection
- Retrofit for REST api communication
- Glide for image loading