¡@

Home 

2014/10/16 ¤W¤È 08:20:46

android Programming Glossary: onfriendaddedasynctask

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

http://stackoverflow.com/questions/14177781/java-lang-illegalstateexception-can-not-perform-this-action-after-onsaveinstanc

exception. Please take a look at the details private class onFriendAddedAsyncTask extends AsyncTask String Void String DummyFragment dummyFragment.. protected void onPreExecute Log.v MyFragmentActivity onFriendAddedAsyncTask onPreExecute dummyFragment DummyFragment.newInstance fm getSupportFragmentManager.. void onPostExecute String result Log.v MyFragmentActivity onFriendAddedAsyncTask onPostExecute ft fm.beginTransaction ft.remove dummyFragment..

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

http://stackoverflow.com/questions/14177781/java-lang-illegalstateexception-can-not-perform-this-action-after-onsaveinstanc

orientation is changed in between I get the above mentioned exception. Please take a look at the details private class onFriendAddedAsyncTask extends AsyncTask String Void String DummyFragment dummyFragment FragmentManager fm FragmentTransaction ft @Override protected.. dummyFragment FragmentManager fm FragmentTransaction ft @Override protected void onPreExecute Log.v MyFragmentActivity onFriendAddedAsyncTask onPreExecute dummyFragment DummyFragment.newInstance fm getSupportFragmentManager ft fm.beginTransaction ft.add dummyFragment.. dummyFragment dummy_fragment ft.commit @Override protected void onPostExecute String result Log.v MyFragmentActivity onFriendAddedAsyncTask onPostExecute ft fm.beginTransaction ft.remove dummyFragment ft.commit @Override protected String doInBackground String.....