Hi everyone, I’ve attached a
dummy screenshot just to provide context. The
original Figma design is different, but it has the
same bottom navigation bar with 4 items:
Home, Search, My Library, and Premium.
In traditional XML, based Android development, we usually use a
BaseActivity with
Fragments like
HomeFragment
,
SearchFragment
,
LibraryFragment
, and
PremiumFragment
. Then, based on the requirement, we add additional activities or fragments.
My question is about Jetpack Compose:
1. Do we follow the same approach in Compose?
2. If not, what is the recommended way to structure the app? Should we use a
single MainActivity
with composable screens like
HomeScreen
,
SearchScreen
,
LibraryScreen
, and
PremiumScreen
?
If anyone has built a similar app using Jetpack Compose
from scratch (with
API integration), I would really appreciate it if you could share any
YouTube playlists or tutorials that helped you.
Thanks in advance, This is a bit urgent for me, so any guidance is really appreciated 🙏
#C0B8MA7FA, #C01Q62JMKBP, #C0B8M7BUY