progress dialog deactivating while reverting back
i have created a progress dialog when i go from login page to home page it show with message login successful but if i come back from home page to login page than alsoo progress di开发者_运维百科alog show i want to dismiss this method when i come back i know dismiss.progressbarname() one method is there but were to put this i am not getting can anyone please tell me
put it to onKeyDown()
of your activity method in switch statement on case, where key code is KeyEvent.KEYCODE_BACK
.
精彩评论