wich implement serializable in onSaveInstance's bundle if i press home button my app crash?
The list is probably too big. Check the stacktrace. The limit for bundle is somewhere between 0.5 - 1MB. Anything more, use a headless fragment instead.
Show us the log
keep the ArrayList on local database otherwise the list becomes null!It's crash because it cause null pointer exception!Also check the log
Обсуждают сегодня