A Simple Android news application that:
- Use https://newsapi.org/ as data source.
- Written in
Kotlin
. - Using MVVM design pattern.
- Android Architecture Components (
ViewModel
,LiveData
,Data Binding
). - Navigation Component
Retrofit
withRxJava
for networking.Koin
for dependency injection.- Has testing
Unit tests
.Component/ Functional/ Integration tests
.UAT/ end-to-end tests
.
Application allows user to surf through and read top headlines news or news based on user's interest. 👍
You can
- Install the application on Play Store (Internal Testing) by sending an email to
kien.vanba@gmail.com
Using the same email address you're using to register on Play Store. I will send you an invitation to test the app. - Install the application by installing the apk file.
- Run this repo in Android Studio.
- data
- local # contains local data storage such as SharedPreferences or DB, in this app only SharedPrefrences is used.
- network # define network services.
- repository # contains all data repository using in application.
- di # config all dependency injection within the app using Koin.
- model # all model data classes.
- ui # screens and views.
- base # contains all base (open & abstract) classes.
- activity # contains app activities.
- fragment # contains app screens.
- view # contains views such as dialogs, custom views...
- util # contains app utilities such as constants, helpers, extensions...