コード例 #1
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   ToastMaster.cancelToast();
   if (mCursor != null) {
     mCursor.close();
   }
 }
 private static void popAlarmSetToast(Context context, long timeInMillis) {
   String toastText = formatToast(context, timeInMillis);
   Toast toast = Toast.makeText(context, toastText, Toast.LENGTH_LONG);
   ToastMaster.setToast(toast);
   toast.show();
 }
コード例 #3
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   ToastMaster.cancelToast();
 }