我的片段与TabIndicator一起使用,它只有一个FragmentClass被使用几次
这是正常的标准覆盖类:
@Override public void onHiddenChanged(boolean hidden) { super.onHiddenChanged(hidden); }
从文档:
Called when the hidden state (as returned by isHidden()) of the fragment has changed. Fragments start out not hidden; this will be called whenever the fragment changes state from that.