Hey guys, Should I use navigation-compose as sugge...
# compose
v
Hey guys, Should I use navigation-compose as suggested by Google or stick with Fragments and use Compose only for rendering views?
i
Are you writing a brand new Compose app? I don't know why you'd purposefully choose fragments for a new Compose app, no matter what navigation system you end up using (there are many options to choose from for a pure Compose app)
The only time we recommend using fragments (by themselves or with Navigation with Fragments) is if your app is already built on top of fragments, as per the docs: https://developer.android.com/jetpack/compose/navigation#interoperability
☝️ 1
v
Yes I am building a basic compose app for my learning purpose. I am totally new in compose. I am asking what should I use for navigation for different screen. If fragments are not recommand solution then I'll not use them. So what is the recommendation for compose for navigation? Can you please guide me ?
@Ian Lake
s
There's a navigation-compose artifact you can use for this. Check out https://developer.android.com/jetpack/compose/navigation for how to get started. 🙂
v
sure thank you so much
s
Of course! Good luck with your learning. 😃
v
I really appreciate it guys.
❤️ 1