My app has a bottom nav with 3 Fragments where first one has a ViewPager with tablayout each having their own Fragments.
What I want to do is change the content of fragments of viewpager fragments depending on the selection of Spinner selected.
How do i implement a listener to listen for change in Spinner to change the data calls to repo in each of the ViewModels.
Any other solutions are also welcome.