Jetpack Compose - Ensuring list is at the correct position after navigating back from details screen
My Android app is written using Jetpack Compose and utilising an MVVM architecture. It is a basic movie list app utilising the TMDB API.
The app displays a list of items using a LazyVerticalGrid with two columns of tiles. The user will scroll the list and click on one at which point a details page is navigated to. I am using a NavController for this. This is an independent screen, not a bottom sheet dialogue (although I am considering changing to that).
Navigation is handled via the...