Question:
I store data in the cache
@Override
protected void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
outState.putSerializable(SHEDULE, shedule);
outState.putSerializable(RING, ringShedule);
//outState.putString(DOC, doc_);
}
doc_
stores a fairly long string that contains the html page. If you do not save it, then the entire cache will be loaded and the activity will be restored. If you save, then the activity will not be restored, but the main activity will be loaded. As I understand it, the application saves, but cannot recover this long line?
Answer:
Due to the fact that Bundle's data fly over IPC, the limit on them is 1MB. According to the English-speaking answer