Can anyone help me to know about the Bundle savedInstanceState in onCreate(Bundle savedInstanceState) I am newbie in Android. I try to understand it from developer.android.com. But I am not able to understand. Can anyone simplify it?
Can anyone help me to know about the Bundle savedInstanceState in onCreate(Bundle savedInstanceState) I
Share
If you save the state of the application in a bundle (typically non-persistent, dynamic data in
onSaveInstanceState), it can be passed back toonCreateif the activity needs to be recreated (e.g., orientation change) so that you don’t lose this prior information. If no data was supplied,savedInstanceStateis null.source