(the solution in the architecture patterns was not...
# compose
c
(the solution in the architecture patterns was not bad: a viewmodel that is retrievable per Activity.. )
h
The Navigation component has a
by navGraphViewModel
delegate which lets you scope a ViewModel to an entire nav graph. Very useful for flows involving a lot of fragments.
👍🏻 2
a
by navGraphViewModel
is huge!
👍🏻 1
c
@alexsullivan114 have you used
Compose
with the Navgraph stuff? the only article I could find was on Medium and they were still making the views in XML?
a
Nope
c
Cool will try and piece them together thanks for the tip..