Actions in onActivityResult and “Error Can not perform this action after onSaveInstanceState”

前端 未结 7 506
情话喂你
情话喂你 2020-12-13 04:41

Implementing an app where the user can log in I have the following situation: If the user is logged in perform the action else start the login activity for result and if the

7条回答
  •  执念已碎
    2020-12-13 05:03

    If using a DialogFragment, the only thing that worked for me was to dismiss the Fragment with dissmissAllowingStateLoss()

提交回复
热议问题