android-clean-coroutines
android-clean-coroutines copied to clipboard
Example of Android app using Kotlin, Coroutines, CleanArchitecture, MVVM pattern, Retrofit
Kotlin Coroutines example with Android Architecture components and Clean Architecture
Simple app that shows how to architect an android app in a clean architecture with kotlin coroutines.
It simply shows a list of photo that is fetched from unsplash api

Libraries
Android Jetpack
-
DataBinding Declaratively bind observable data to UI elements.
-
Lifecycle Create a UI that automatically responds to lifecycle events.
-
LiveData Build data objects that notify views when the underlying database changes.
-
ViewModel Store UI-related data that isn't destroyed on app rotations. Easily schedule asynchronous tasks for optimal execution.
Image
- Glide An image loading and caching library for Android focused on smooth scrolling.
HTTP
-
Retrofit2 Type-safe HTTP client for Android and Java by Square, Inc.
-
OkHttp An HTTP+HTTP/2 client for Android and Java applications.
Coroutines
- Kotlin Coroutines Coroutines is a rich library for coroutines developed by JetBrains. It contains a number of high-level coroutine-enabled primitives that this guide covers, including launch, async and others.
DI
- Koin A pragmatic lightweight dependency injection framework for Kotlin developers.
TODO
- Implement data caching