Android Wait for user input at AlertDialog to proceed

前端 未结 3 1053
忘掉有多难
忘掉有多难 2021-01-28 06:06

I\'ve see this subject been discussed here but can\'t seem to understand how to proceed.

In my onCreate I have code that checks if it is the first run of th

3条回答
  •  不思量自难忘°
    2021-01-28 06:21

    Take another boolean variable isChengelog and set it false initialy, when user click on ChangeLog dialog set it true and save it in preferences. Further proceeding code check

    if(isChengelog){
      //Show firstRun Aleret dialog
    } 
    else{
     //Not Show firstRun Aleret dialog
    }
    

提交回复
热议问题