A news app which fetches news from an open source News Api
The News app for daily news & trending news using MVVM architecture, Jetpack component, Dagger 2, RxJava, Retrofit, Glide and pagination. It connects to the News Api API and fetch top news.
- Dagger 2 - Used to provide dependency injection
- Retrofit 2 - OkHttp3 - request/response API
- Glide - for image loading.
- RxJava 2 - reactive programming paradigm
- LiveData - use LiveData to see UI update with data changes.
- Pagination - to endless scrolling
- Robolectric - to write test cases for activity
- Mockito and PowerMockito - to write test cases for ViewModel and Repository
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Download/clone zip
- Extract the downloaded Zip
- Start android Studio, Close any existing project and navigate through import existing android project.
Working Java instalation and Android Studio for devlopment.
- Akhilesh Patil - Stackoverflow profile - Stackoverflow profile Linkedin profile - Linkedin profile
This project is opensource, kindly maintain the proper credits for author and contributers.