A news listing app built with Android Jetpack.
Sample app which uses news api to get latest news and built to illustrate best development practices with Android Jetpack.
- Room - Access your app's SQLite database with in-app objects and compile-time checks.
- LiveData - Build data objects that notify views when the underlying database changes.
- Paging library - Load and display small chunks of data at a time.
- ViewModel - Store UI-related data that isn't destroyed on app rotations. Easily schedule asynchronous tasks for optimal execution.
- Glide for image loading
- Retrofit Type-safe HTTP client for Android and Java
- Use the latest version of Android Studio.
- Add your News API Key in
Constants.kt
file to make news fetch work.
If you've found an error in this sample, please file an issue: https://github.com/ankitchouhan/news-app/issues