I have a Bundle with a nested character that I want to save, how can I save the entire Bundle most easily? SharedPreferencesno ligament function.
SharedPreferences
Do not use Bundle. A Bundleshould not be preserved. Use a different data model (POJO, HashMapwhatever) and write preservation logic (serialize, serialize in JSON, serialize in XML, write SQLite, etc.).
Bundle
HashMap