You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please help, I have viewpager with fragments, databinding into viewmodel. Where I need use setCurrentItem and add functions of viewpager's adapter (view or viewmodel-databinding)? Is it necessary to create viewmodel for every viewpager's item?
Thanks for help.
The text was updated successfully, but these errors were encountered:
daimonkor
changed the title
[QUESTION] Viewmodel with Databinding and ViewPager
[Question] Viewmodel with Databinding and ViewPager
Jun 8, 2017
Please help, I have viewpager with fragments, databinding into viewmodel. Where I need use setCurrentItem and add functions of viewpager's adapter (view or viewmodel-databinding)? Is it necessary to create viewmodel for every viewpager's item?
Thanks for help.
The text was updated successfully, but these errors were encountered: