llkacolumbus.blogg.se

Android clean architecture kotlin github
Android clean architecture kotlin github










android clean architecture kotlin github

lifecycleScope: to launch the background thread of Flow in this certain scope, if this scope is not exist any more you don’t have to worry about the background threads.We get out our ViewModel by very useful Kotlin function ‘viewModels()’.

android clean architecture kotlin github

‘AndroidEntryPoint’ to tell Hilt this is an entry point.LoadingState -> textView.text = "loading "Īctivity_splash.xml is a simple xml file with TextView with id textview1 in the center Implementation ':kotlinx-coroutines-core:1.4.2 ' Implementation "agment:fragment-ktx:1.3.5 " Implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1 ' Implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1 ' Implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1 ' Implementation "androidx.lifecycle:lifecycle-extensions:2.2.0 " Implementation 'nstraintlayout:constraintlayout:2.0.4 ' Implementation 'androidx.appcompat:appcompat:1.3.0 ' Implementation ":kotlin-stdlib: $k otlin_version " ProguardFiles getDefaultProguardFile( 'proguard-android-optimize.txt '), 'proguard-rules.pro '












Android clean architecture kotlin github