https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
k

Kavin

03/16/2020, 2:41 PM
I was going through the Android samples for Navigation Architecture. Can anyone tell me whats are the below dependencies for or where can I read about the differences?
Copy code
navigation.runtime = "androidx.navigation:navigation-runtime:$versions.navigation"
navigation.runtime_ktx = "androidx.navigation:navigation-runtime-ktx:$versions.navigation"
navigation.fragment = "androidx.navigation:navigation-fragment:$versions.navigation"
navigation.fragment_ktx = "androidx.navigation:navigation-fragment-ktx:$versions.navigation"
navigation.ui = "androidx.navigation:navigation-ui:$versions.navigation"
navigation.ui_ktx = "androidx.navigation:navigation-ui-ktx:$versions.navigation"
b

bezrukov

03/16/2020, 2:42 PM
everything with _ktx suffix is set of kotlin extension functions for corresponding lib (or related to it): https://developer.android.com/kotlin/ktx
k

Kavin

03/16/2020, 2:53 PM
Alright, thanks for the lead but what's the difference between runtime, fragment and ui?
d

dewildte

03/16/2020, 4:27 PM
RTTD
3 Views