Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ClassifyActivity/ClassifyFragment: Avoid IllegalStateException on res…
…ume. Avoid this exception: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState. caused by us using a FragmentTransaction during onResume(). Instead do it in the parent Activity's onResumeFragments(), where it is apparently safer. This is very awkward Android API. However, I cannot reproduce this after experiencing it once, so it's hard to know if it's really fixed.
- Loading branch information
Showing
2 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters