Skip to content

Modern Architecture sample with MVVM using Room, Ktor, and Koin dependency injection.

Notifications You must be signed in to change notification settings

AkmalAfzal07/ktor-koin-db-template

Repository files navigation

This sample crick app implements MVVM architecture using Coroutines,Jetpack Navigation,Koin,Room,Ktor,Jetpack StateFlow and Databinding.

Apps Packages

data : It contains all the data accessing with model,network,source packges.
di   : Dependency providing classes using Koin.
ui   : View classes with their corresponding ViewModel for base, viewHolder.
utils: Utility classes.

reference resources:

Coroutine : https://developer.android.com/kotlin/coroutines

Koin   : https://insert-koin.io/docs/setup/koin/

Navigation: https://developer.android.com/guide/navigation

Room      : https://developer.android.com/topic/libraries/architecture/room

Ktor  : https://ktor.io/docs/client-create-new-application.html#create-client

statFlow  : https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-state-flow/