android / uamp

A sample audio app for Android
Apache License 2.0
13.11k stars 3.76k forks source link

Adding a back button for MediaItemListScreen & NowPlayingScreen #494

Open AvishParmar opened 2 years ago

AvishParmar commented 2 years ago

There is a TopAppBar composable present in the MediaItemListScreen & NowPlayingScreen which simply shows the app name. It would be much more compact to have a back button allowing the user to transition back to prior screens rather than using the device's back button to do so. From my intuition, this should require the MainActivity to be converted to Compose and then set up a navController which is then propagated to each fragment or perhaps having a central navigation method set up that is used by both fragments.