Navigation Component追加

This commit is contained in:
ろむねこ 2023-12-07 14:27:21 +09:00
parent c9efb8b93b
commit b49a002896
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -42,4 +42,24 @@ dependencies {
implementation "com.google.dagger:hilt-android:2.44"
annotationProcessor "com.google.dagger:hilt-compiler:2.44"
// Navigation Component
def nav_version = "2.7.5"
// Java language implementation
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
// Kotlin
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
// Feature module Support
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
// Testing Navigation
androidTestImplementation "androidx.navigation:navigation-testing:$nav_version"
// Jetpack Compose Integration
implementation "androidx.navigation:navigation-compose:$nav_version"
}