Logout from the application Android

前端 未结 7 1750
旧巷少年郎
旧巷少年郎 2020-12-25 08:43

I have tried to logout from my app when the user clicks on Logout.It is working fine in case the user after login without closing the app if he doed logout .Then it is worki

7条回答
  •  时光说笑
    2020-12-25 09:10

    The onNewIntent() should be used in singleTop activities. Beside that, I don't see a startActivityForResult() call to Login Page/Activity.

    Blank page means your activity has not setup its view (with setContentView()).

    I would suggest moving your "logging out" checks and setContentView() to onResume() of the Login Page/Activity.

提交回复
热议问题