Skip to content

Commit b91a965

Browse files
committed
Refactored NiaNavigator
Made NiaNavigator a stateless class only responsibly for navigating and pop (modifying backStack). Navigation state now lives in a new class called NiaNavigatorState. The state of this class is saved and restored by ViewModel.
1 parent a878b17 commit b91a965

File tree

29 files changed

+855
-755
lines changed

29 files changed

+855
-755
lines changed

app-nia-catalog/dependencies/releaseRuntimeClasspath.txt

Lines changed: 66 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -12,47 +12,49 @@ androidx.browser:browser:1.8.0
1212
androidx.collection:collection-jvm:1.5.0
1313
androidx.collection:collection-ktx:1.5.0
1414
androidx.collection:collection:1.5.0
15-
androidx.compose.animation:animation-android:1.10.0-alpha02
16-
androidx.compose.animation:animation-core-android:1.10.0-alpha02
17-
androidx.compose.animation:animation-core:1.10.0-alpha02
18-
androidx.compose.animation:animation:1.10.0-alpha02
19-
androidx.compose.foundation:foundation-android:1.10.0-alpha02
20-
androidx.compose.foundation:foundation-layout-android:1.10.0-alpha02
21-
androidx.compose.foundation:foundation-layout:1.10.0-alpha02
22-
androidx.compose.foundation:foundation:1.10.0-alpha02
23-
androidx.compose.material3.adaptive:adaptive-android:1.2.0-beta01
24-
androidx.compose.material3.adaptive:adaptive:1.2.0-beta01
25-
androidx.compose.material3:material3-adaptive-navigation-suite-android:1.5.0-alpha03
26-
androidx.compose.material3:material3-adaptive-navigation-suite:1.5.0-alpha03
27-
androidx.compose.material3:material3-android:1.5.0-alpha03
28-
androidx.compose.material3:material3:1.5.0-alpha03
15+
androidx.compose.animation:animation-android:1.10.0-alpha04
16+
androidx.compose.animation:animation-core-android:1.10.0-alpha04
17+
androidx.compose.animation:animation-core:1.10.0-alpha04
18+
androidx.compose.animation:animation:1.10.0-alpha04
19+
androidx.compose.foundation:foundation-android:1.10.0-alpha04
20+
androidx.compose.foundation:foundation-layout-android:1.10.0-alpha04
21+
androidx.compose.foundation:foundation-layout:1.10.0-alpha04
22+
androidx.compose.foundation:foundation:1.10.0-alpha04
23+
androidx.compose.material3.adaptive:adaptive-android:1.2.0-beta03
24+
androidx.compose.material3.adaptive:adaptive:1.2.0-beta03
25+
androidx.compose.material3:material3-adaptive-navigation-suite-android:1.5.0-alpha04
26+
androidx.compose.material3:material3-adaptive-navigation-suite:1.5.0-alpha04
27+
androidx.compose.material3:material3-android:1.5.0-alpha04
28+
androidx.compose.material3:material3:1.5.0-alpha04
2929
androidx.compose.material:material-icons-core-android:1.7.8
3030
androidx.compose.material:material-icons-core:1.7.8
3131
androidx.compose.material:material-icons-extended-android:1.7.8
3232
androidx.compose.material:material-icons-extended:1.7.8
33-
androidx.compose.material:material-ripple-android:1.10.0-alpha02
34-
androidx.compose.material:material-ripple:1.10.0-alpha02
35-
androidx.compose.runtime:runtime-android:1.10.0-alpha02
36-
androidx.compose.runtime:runtime-annotation-android:1.10.0-alpha02
37-
androidx.compose.runtime:runtime-annotation:1.10.0-alpha02
38-
androidx.compose.runtime:runtime-saveable-android:1.10.0-alpha02
39-
androidx.compose.runtime:runtime-saveable:1.10.0-alpha02
40-
androidx.compose.runtime:runtime:1.10.0-alpha02
41-
androidx.compose.ui:ui-android:1.10.0-alpha02
42-
androidx.compose.ui:ui-geometry-android:1.10.0-alpha02
43-
androidx.compose.ui:ui-geometry:1.10.0-alpha02
44-
androidx.compose.ui:ui-graphics-android:1.10.0-alpha02
45-
androidx.compose.ui:ui-graphics:1.10.0-alpha02
46-
androidx.compose.ui:ui-text-android:1.10.0-alpha02
47-
androidx.compose.ui:ui-text:1.10.0-alpha02
48-
androidx.compose.ui:ui-tooling-preview-android:1.10.0-alpha02
49-
androidx.compose.ui:ui-tooling-preview:1.10.0-alpha02
50-
androidx.compose.ui:ui-unit-android:1.10.0-alpha02
51-
androidx.compose.ui:ui-unit:1.10.0-alpha02
52-
androidx.compose.ui:ui-util-android:1.10.0-alpha02
53-
androidx.compose.ui:ui-util:1.10.0-alpha02
54-
androidx.compose.ui:ui:1.10.0-alpha02
55-
androidx.compose:compose-bom-alpha:2025.08.01
33+
androidx.compose.material:material-ripple-android:1.10.0-alpha04
34+
androidx.compose.material:material-ripple:1.10.0-alpha04
35+
androidx.compose.runtime:runtime-android:1.10.0-alpha04
36+
androidx.compose.runtime:runtime-annotation-android:1.10.0-alpha04
37+
androidx.compose.runtime:runtime-annotation:1.10.0-alpha04
38+
androidx.compose.runtime:runtime-retain-android:1.10.0-alpha04
39+
androidx.compose.runtime:runtime-retain:1.10.0-alpha04
40+
androidx.compose.runtime:runtime-saveable-android:1.10.0-alpha04
41+
androidx.compose.runtime:runtime-saveable:1.10.0-alpha04
42+
androidx.compose.runtime:runtime:1.10.0-alpha04
43+
androidx.compose.ui:ui-android:1.10.0-alpha04
44+
androidx.compose.ui:ui-geometry-android:1.10.0-alpha04
45+
androidx.compose.ui:ui-geometry:1.10.0-alpha04
46+
androidx.compose.ui:ui-graphics-android:1.10.0-alpha04
47+
androidx.compose.ui:ui-graphics:1.10.0-alpha04
48+
androidx.compose.ui:ui-text-android:1.10.0-alpha04
49+
androidx.compose.ui:ui-text:1.10.0-alpha04
50+
androidx.compose.ui:ui-tooling-preview-android:1.10.0-alpha04
51+
androidx.compose.ui:ui-tooling-preview:1.10.0-alpha04
52+
androidx.compose.ui:ui-unit-android:1.10.0-alpha04
53+
androidx.compose.ui:ui-unit:1.10.0-alpha04
54+
androidx.compose.ui:ui-util-android:1.10.0-alpha04
55+
androidx.compose.ui:ui-util:1.10.0-alpha04
56+
androidx.compose.ui:ui:1.10.0-alpha04
57+
androidx.compose:compose-bom-alpha:2025.09.01
5658
androidx.concurrent:concurrent-futures:1.1.0
5759
androidx.core:core-ktx:1.16.0
5860
androidx.core:core-viewtree:1.0.0
@@ -69,34 +71,34 @@ androidx.graphics:graphics-shapes-android:1.0.1
6971
androidx.graphics:graphics-shapes:1.0.1
7072
androidx.interpolator:interpolator:1.0.0
7173
androidx.legacy:legacy-support-core-utils:1.0.0
72-
androidx.lifecycle:lifecycle-common-java8:2.10.0-alpha03
73-
androidx.lifecycle:lifecycle-common-jvm:2.10.0-alpha03
74-
androidx.lifecycle:lifecycle-common:2.10.0-alpha03
75-
androidx.lifecycle:lifecycle-livedata-core-ktx:2.10.0-alpha03
76-
androidx.lifecycle:lifecycle-livedata-core:2.10.0-alpha03
77-
androidx.lifecycle:lifecycle-livedata:2.10.0-alpha03
78-
androidx.lifecycle:lifecycle-process:2.10.0-alpha03
79-
androidx.lifecycle:lifecycle-runtime-android:2.10.0-alpha03
80-
androidx.lifecycle:lifecycle-runtime-compose-android:2.10.0-alpha03
81-
androidx.lifecycle:lifecycle-runtime-compose:2.10.0-alpha03
82-
androidx.lifecycle:lifecycle-runtime-ktx-android:2.10.0-alpha03
83-
androidx.lifecycle:lifecycle-runtime-ktx:2.10.0-alpha03
84-
androidx.lifecycle:lifecycle-runtime:2.10.0-alpha03
85-
androidx.lifecycle:lifecycle-viewmodel-android:2.10.0-alpha03
86-
androidx.lifecycle:lifecycle-viewmodel-ktx:2.10.0-alpha03
87-
androidx.lifecycle:lifecycle-viewmodel-savedstate-android:2.10.0-alpha03
88-
androidx.lifecycle:lifecycle-viewmodel-savedstate:2.10.0-alpha03
89-
androidx.lifecycle:lifecycle-viewmodel:2.10.0-alpha03
74+
androidx.lifecycle:lifecycle-common-java8:2.9.4
75+
androidx.lifecycle:lifecycle-common-jvm:2.9.4
76+
androidx.lifecycle:lifecycle-common:2.9.4
77+
androidx.lifecycle:lifecycle-livedata-core-ktx:2.9.4
78+
androidx.lifecycle:lifecycle-livedata-core:2.9.4
79+
androidx.lifecycle:lifecycle-livedata:2.9.4
80+
androidx.lifecycle:lifecycle-process:2.9.4
81+
androidx.lifecycle:lifecycle-runtime-android:2.9.4
82+
androidx.lifecycle:lifecycle-runtime-compose-android:2.9.4
83+
androidx.lifecycle:lifecycle-runtime-compose:2.9.4
84+
androidx.lifecycle:lifecycle-runtime-ktx-android:2.9.4
85+
androidx.lifecycle:lifecycle-runtime-ktx:2.9.4
86+
androidx.lifecycle:lifecycle-runtime:2.9.4
87+
androidx.lifecycle:lifecycle-viewmodel-android:2.9.4
88+
androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.4
89+
androidx.lifecycle:lifecycle-viewmodel-savedstate-android:2.9.4
90+
androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.4
91+
androidx.lifecycle:lifecycle-viewmodel:2.9.4
9092
androidx.loader:loader:1.0.0
9193
androidx.localbroadcastmanager:localbroadcastmanager:1.0.0
9294
androidx.metrics:metrics-performance:1.0.0-beta01
9395
androidx.print:print:1.0.0
9496
androidx.profileinstaller:profileinstaller:1.4.0
95-
androidx.savedstate:savedstate-android:1.4.0-alpha03
96-
androidx.savedstate:savedstate-compose-android:1.4.0-alpha03
97-
androidx.savedstate:savedstate-compose:1.4.0-alpha03
98-
androidx.savedstate:savedstate-ktx:1.4.0-alpha03
99-
androidx.savedstate:savedstate:1.4.0-alpha03
97+
androidx.savedstate:savedstate-android:1.3.2
98+
androidx.savedstate:savedstate-compose-android:1.3.2
99+
androidx.savedstate:savedstate-compose:1.3.2
100+
androidx.savedstate:savedstate-ktx:1.3.2
101+
androidx.savedstate:savedstate:1.3.2
100102
androidx.startup:startup-runtime:1.1.1
101103
androidx.tracing:tracing-ktx:1.3.0-alpha02
102104
androidx.tracing:tracing:1.3.0-alpha02
@@ -128,10 +130,10 @@ org.jetbrains.kotlin:kotlin-stdlib-common:2.2.21
128130
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0
129131
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0
130132
org.jetbrains.kotlin:kotlin-stdlib:2.2.21
131-
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1
132-
org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1
133-
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.1
134-
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1
133+
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0
134+
org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.9.0
135+
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.9.0
136+
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0
135137
org.jetbrains.kotlinx:kotlinx-datetime-jvm:0.6.1
136138
org.jetbrains.kotlinx:kotlinx-datetime:0.6.1
137139
org.jetbrains.kotlinx:kotlinx-serialization-bom:1.7.3

0 commit comments

Comments
 (0)