https://kotlinlang.org logo
#compose
Title
# compose
c

codeslubber

12/19/2019, 11:22 PM
(the solution in the architecture patterns was not bad: a viewmodel that is retrievable per Activity.. )
h

haroldadmin

12/20/2019, 3:12 AM
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

alexsullivan114

12/20/2019, 3:23 PM
by navGraphViewModel
is huge!
👍🏻 1
c

codeslubber

12/24/2019, 5:23 PM
@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

alexsullivan114

12/24/2019, 5:27 PM
Nope
c

codeslubber

12/24/2019, 6:17 PM
Cool will try and piece them together thanks for the tip..