开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜