/**
* FragmentManager 三种方式
* 1.add/remove/replace() 导致Fragment被添加和移除,从而改变isVisible()的返回值 ,这些操作会执行Fragment的生命周期
* 2.hide /show 只会走方法onHiddenChanged 从而改变 isHidden() 支持手动调用
* 3. setUserVisibleHint 则是给ViewPage 管理时候的调用的 从而改变 getUserVisibleHint() 支持手动调用
*/

相关文章:

  • 2021-12-10
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2021-06-19
  • 2022-01-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案