Exemple #1
0
 private void showUnlockDialog1() {
   String str =
       "您现在还拥有钥匙*"
           + GlobalRes.getInstance().getBeans().getLoginData().getInfoData().getKeyNum()
           + ",解锁本课程需要 钥匙*1,是否解锁?";
   unlockDialog1 = new DialogUnlockFragment(callback1, str, "", 0);
   unlockDialog1.showDialog(getSupportFragmentManager());
 }
Exemple #2
0
 private void hideDialog1() {
   if (unlockDialog1 != null) {
     unlockDialog1.dismiss();
     unlockDialog1 = null;
   }
 }