Do we have a way to scope ViewModel to a Pager using “navigation-compose” or any other library?
Prateek Kumar
06/15/2023, 1:19 PM
Using “navigation-compose” i did try to create a new Host for every Pager in my HorizontalPager , But that also dosen’t seem to clear the viewmodel when it goes off the screen and if i swipe 20 pages i will have 20 Viewmodel alive