Skip to content

A simple Android mobile application that has been implemented using clean architecture alongside with Kotlin, Koin, MVVM, Retrofit, Room, Lifecycle, LiveData, Material Design, and custom pager library to retrieve news data from the NewsApi.org website. This simple mobile application purpose to just explore the clean Koin dependency injection arc…

License

Notifications You must be signed in to change notification settings

MakSinroja/KoinMVVM

Repository files navigation

KoinMVVM

A simple Android mobile application that has been implemented using clean architecture alongside with Kotlin, Koin, MVVM, Retrofit, Room, Lifecycle, LiveData, Material Design, and custom pager library to retrieve news data from the NewsApi.org website. This simple mobile application purpose to just explore the clean Koin dependency injection architecture.

Screenshots

Note

To run the app you have to add the NewsApi.org key. I have taken this step due to limited access to daily requests for News. Getting a key would take just a few seconds :)

Setup NewsApi.org API key

  1. Visit NewsApi.org and register. If you have already then just SignIn and get the key.
  2. Copy your API key from the account section.
  3. Open build.gradle(Module:app)
  4. Find out the productFlavors section, in that section, there are two flavors available 1) development and 2) production. Please your API key into NEWS_API_KEY def variable.
build.gradle(Module:app)

productFlavors{
  ------
  def NEWS_API_KEY
  development{
    ------
    NEWS_API_KEY = "PASTE HERE YOUR API KEY"
    ------
  }
  production {
    ------
    NEWS_API_KEY = "PASTE HERE YOUR API KEY"
    ------
  }
}

Technologies & Methodologies which has used in this application

  1. Kotlin
  2. Koin
  3. MVVM
  4. Retrofit
  5. RxJava
  6. RxKotlin
  7. Room
  8. Lifecycle
  9. LiveData
  10. Material Design

Supported Android Versions

Android version targeted : Android 6.0 and above

Contributing

All pull requests are welcome. For major changes, please first open an issue to discuss what you would like need to change.

About

A simple Android mobile application that has been implemented using clean architecture alongside with Kotlin, Koin, MVVM, Retrofit, Room, Lifecycle, LiveData, Material Design, and custom pager library to retrieve news data from the NewsApi.org website. This simple mobile application purpose to just explore the clean Koin dependency injection arc…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages