I have activity with CoordinatorLayout, AppBarLayout, Toolbar, TabLayout, ViewPAger and 2 fragments.
Fragment description:
- with settings (ListView filled with data)
- game which is operating based on chosen data
Idea is to go back and forth between 1st and 2nd tab (fragment). On each swipe from 1nd to 2st, 2nd tab shold be a bit updated based on chosen data in 1st tab.
How can I send those chosen data from 1st tab to 2nd on swipe event.