ナビゲーショングラフ作成

This commit is contained in:
ろむねこ 2024-01-18 14:30:22 +09:00
parent e6778e6214
commit 13f31017f7
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
3 changed files with 12 additions and 0 deletions

View File

@ -29,6 +29,8 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0' implementation 'com.google.android.material:material:1.10.0'
implementation libs.androidx.navigation.fragment
implementation libs.androidx.navigation.ui
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/feature_search_navigation">
</navigation>

View File

@ -3,6 +3,8 @@ nav = "2.7.5"
agp = "8.0.2" agp = "8.0.2"
activity = "1.8.0" activity = "1.8.0"
room = "2.5.0" room = "2.5.0"
navigationFragment = "2.7.6"
navigationUi = "2.7.6"
[libraries] [libraries]
navigation-fragment = { group="androidx.navigation", name="navigation-fragment", version.ref="nav"} navigation-fragment = { group="androidx.navigation", name="navigation-fragment", version.ref="nav"}
@ -23,6 +25,8 @@ androidx-activity = { group = "androidx.activity", name = "activity", version.re
androidx-room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" } androidx-room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" }
androidx-room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" } androidx-room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" }
androidx-navigation-fragment = { group = "androidx.navigation", name = "navigation-fragment", version.ref = "navigationFragment" }
androidx-navigation-ui = { group = "androidx.navigation", name = "navigation-ui", version.ref = "navigationUi" }
[plugins] [plugins]
com-android-library = { id = "com.android.library", version.ref = "agp" } com-android-library = { id = "com.android.library", version.ref = "agp" }