-
-
Save makzimi/46021b84ab1f9e5d7cf6bc64ccfa829c to your computer and use it in GitHub Desktop.
TransactionTooLargeException_article_FragmentManager.java
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
Parcelable saveAllState() { | |
... | |
int N = mActive.size(); | |
FragmentState[] active = new FragmentState[N]; | |
for (int i=0; i<N; i++) { | |
... | |
//saving all states in active array | |
... | |
} | |
... | |
FragmentManagerState fms = new FragmentManagerState(); | |
fms.mActive = active; | |
... | |
return fms; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment