An simple image gallery app utilizing Unsplash API to showcase modern Android development architecture (Compose + MVVM + Kotlin + Retrofit2 + Hilt + Coroutines + Kotlin Flow + Jetpack Paging 3)
Go to the Releases to download the latest APK.
-
Minimum SDK level 21
-
100% Kotlin based + Coroutines + Flow for asynchronous.
-
Hilt (alpha) for dependency injection.
-
JetPack
- Paging 3
- Kotlin Coroutines (https://kotlinlang.org/docs/reference/coroutines-overview.html) (Asynchronous programming)
- Compose - A modern toolkit for building native Android UI.
- LiveData - notify domain layer data to views.
- Lifecycle - dispose observing data when lifecycle state changes.
- ViewModel - UI related data holder, lifecycle aware.
- Moshi - (https://github.com/square/moshi) (Kotlin JSON library for Android from Square)
- Accompanist - (https://github.com/chrisbanes/accompanist/tree/master/coil) (Image Loading with coil)
-
Architecture
- MVVM Architecture (Declarative View - ViewModel - Model)
- Repository pattern