My fragments in viewpager tab dont refresh

后端 未结 6 1986
我寻月下人不归
我寻月下人不归 2020-12-12 22:54

i got viewpager with 4 tabs .. in each tab there is a fragment. my first tab is a fragment with a form (for example Users) after i click save, the data is inserted in the da

6条回答
  •  抹茶落季
    2020-12-12 23:47

    UPDATE: There is a better way, Please have a look here: Update ViewPager dynamically?


    Removing content of this answer because it was a really bad way to access Fragments inside ViewPager, please see the above link for better approach.

提交回复
热议问题