It seems that this unmarshalling exception always gets thrown when an activity is recreated with saved instance state during espresso tests. I have re ...
It seems that this unmarshalling exception always gets thrown when an activity is recreated with saved instance state during espresso tests. I have re ...
I have an activity that is opened from my main activity. When it is closed using the back button and then restarted it is opening using the previous i ...
Making a project I am faced with the following problem. I have to perform some animations on views that belong to Activity A while at the same time ...
I want to change the app language without recreate the app. I mean I want to do it when user select any language from the setting then it Should cha ...
I have two activities, say A and B. Activity A has a Text View, two buttons B1 to increment the counter and B2 to navigate to activity B. I have enter ...
In the instanceState of an activity we store a Serializable (bundle.putSerializable). In a crash report from the Play Store we saw the following stack ...
Sorry for my poor English. I have a HashMap<String, Parcelable> to save some InstanceStates of a RecyclerView,and I want to save the HashMap< ...
I need to pass objects to my fragments in order to initialize them. Currently I am doing this with ((MyActivity)getActivity()).getX(). (direct access ...
I have a a custom View that extends LinearLayout : I want to save instance state and restore it, but it is different from Activity's instance state ...
In my OnCreate method I am making a network call and populating a listview with the results. I am saving the result in an ArrayList and using the Arra ...
From all the searches I have found on SO stating that you should save your instance state in the @Override public void onSaveInstanceState(Bundle outS ...
I am trying to figure out why my android app crashes sometimes, with the above exception. I can't find the source of the problem from what the logcat ...
I´ve got a little saveInstanceState problem. One activity sends via intent a string value to another activity, which works fantastic. Now at the sec ...
I'm looking for some code that will return the current instance state regardless of whether the instance is currently running or not. I found some cod ...
I'm trying to come to grips with the onSaveInstanceState method in class View (not the one in class Activity). That method does return a Parcelable. I ...