Bundles in onSaveInstanceState should contain only small data because:
- They are sent to the server
- They are serialised and limited (about 1 MB per transaction)
- Bundles are encrypted
- They slow down Gradle
Answer
B) They are serialised and limited (about 1 MB per transaction)
Large Bundles cause TransactionTooLargeException.
Computer Science MCQ · More Screen Components and Orientation MCQs · Practise