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

Yasser AKBBACH

10/26/2023, 10:07 PM
Hi guys, in case of compose navigation, let's say we have a screen that has around 15 events for navigation, would it be better to pass the
nav controller
or we should stick to passing lambdas?
i

Ian Lake

10/26/2023, 10:12 PM
This idea of a UI logic state holder is discussed in the docs: https://developer.android.com/topic/architecture/ui-layer/stateholders#ui-logic
y

Yasser AKBBACH

10/27/2023, 7:03 AM
Thank you
2 Views