Is it possible to use only one activity and `@Comp...
# compose
a
Is it possible to use only one activity and
@Composable
functions? Do I have do use fragments?
f
You don't need fragments if you are willing to wait for navigation lib to implement transitions (soon ™️ ) Also read this thread: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1615494755443800
a
Thanks! No fragments then!
👍 2
g
1 activity, no fragments, navigation-compose, and a whole lot of telling designers to wait for navigation transitions 😁
a
Well I am also the designer.
a
In Fragment, I could have used onStart and onStop. How can I use them now?
f
That is very different question. Either read documentation about
Effect
API or ask in the room and someone might give you more detailed answer.
But the TLDR is Composable funtions have their own lifecycle
a
thank you