@Override
 public void onDestroy() {
   mProfileTracker.stopTracking();
   if (actionListener != null) actionListener.onDialogClose();
   super.onDestroy();
 }
示例#2
0
 protected void finishDialog(int action, Object details) {
   DialogActionListener listener = (DialogActionListener) getActivity();
   if (listener != null) listener.onDialogAction(action, details, getTag());
   dismiss();
 }