添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
有胆有识的酸菜鱼  ·  python-sqlparse — ...·  4 月前    · 
笑点低的机器猫  ·  关于我们 – 英飞腾·  5 月前    · 
豪气的桔子  ·  Apache-Maven·  6 月前    · 
打酱油的槟榔  ·  Gmail token expires ...·  7 月前    · 

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

According to this stack overflow answer the equivalent would be:

For UserVisibleHint = false

.getSupportFragmentManager()
            .beginTransaction()
            .setMaxLifecycle(fragment, Lifecycle.State.STARTED);

For UserVisibleHint = true

.getSupportFragmentManager()
            .beginTransaction()
            .setMaxLifecycle(fragment, Lifecycle.State.RESUMED);