getting exception “IllegalStateException: Can not perform this action after onSaveInstanceState”

前端 未结 30 2065
迷失自我
迷失自我 2020-11-22 05:12

I have a Live Android application, and from market i have received following stack trace and i have no idea why its happening as its not happening in application code but it

30条回答
  •  礼貌的吻别
    2020-11-22 05:58

    When i use startactivity in one fragment, i will get this exception;

    When i change to use startactivityforresult, the exception is gone :)

    So the easy way to fix it is use the startActivityForResult api :)

提交回复
热议问题