开发者

2nd Activity doesn't call after calling from 1st Activity

if(dialog.getProgress()==dialog.getMax())
 {    
      Intent i = new Intent(this, ShowMyDialog.class);
         startActivity(i);
 }  

I have written this code in my 1st activity.but 2nd activity not get called after progress bar v开发者_开发百科alue reached to max. so,please help me......how can i solve this.


That if statement is only evaluated once - wherever it is declared. In order for that check to be called continuously, you'll need to put it in the same method that updates your dialog box.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜