I have a question about rebuilding of an fragment please : if a fragment is killed then reconstructed, have Android kept the bundle from the intent that created the fragment initially ? In order to rebuild it as is ?
I have not found any place talking about it (only about SavedStateBundle), so the answer is most likely "no". But if intent are not used to rebuild, why should we pass info to a fragment using intent instead of using activityViewModel and push everything there for the fragments to read what they need ?
Thank you in advance.
Source: Android Questions