If you use the viewpager+tablayout method above, you can use setUserVisibleHint to effectively refresh the data, while onHiddenChanged requires add, show, ...
確定! 回上一頁