Skip to content

Commit

Permalink
Merge pull request #22 from br3ant/NoBackStack
Browse files Browse the repository at this point in the history
fix: isLoaded重置应该放到onDestroyView中
  • Loading branch information
weikaiyun authored Sep 11, 2021
2 parents a45b177 + c7695b4 commit ed4260b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ private void onRealResume() {
@Override
public void onDestroyView() {
super.onDestroyView();
isLoaded = false;
}

@Override
public void onDestroy() {
mDelegate.onDestroy();
isLoaded = false;
super.onDestroy();
}

Expand Down

0 comments on commit ed4260b

Please sign in to comment.