We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25baeeb commit 13afdf2Copy full SHA for 13afdf2
library/src/main/java/com/shizhefei/fragment/LazyFragment.java
@@ -32,14 +32,14 @@ public class LazyFragment extends BaseFragment {
32
@Deprecated
33
protected final void onCreateView(Bundle savedInstanceState) {
34
super.onCreateView(savedInstanceState);
35
+ this.savedInstanceState = savedInstanceState;
36
Bundle bundle = getArguments();
37
if (bundle != null) {
38
isLazyLoad = bundle.getBoolean(INTENT_BOOLEAN_LAZYLOAD, isLazyLoad);
39
}
40
if (isLazyLoad) {
41
if (getUserVisibleHint() && !isInit) {
42
isInit = true;
- this.savedInstanceState = savedInstanceState;
43
onCreateViewLazy(savedInstanceState);
44
} else {
45
LayoutInflater layoutInflater = inflater;
0 commit comments