Java Code Examples for android.app.Dialog#OnDismissListener

The following examples show how to use android.app.Dialog#OnDismissListener . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WidgetLiftManager.java    From Aria with Apache License 2.0 5 votes vote down vote up
/**
 * 创建Dialog dismiss取消事件
 */
private Dialog.OnDismissListener createDismissListener() {
  return new Dialog.OnDismissListener() {

    @Override public void onDismiss(DialogInterface dialog) {
      AriaManager.getInstance().removeReceiver(dialog);
    }
  };
}
 
Example 2
Source File: BaseFragment.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
public Dialog showDialog(Dialog dialog, Dialog.OnDismissListener onDismissListener)
{
    return showDialog(dialog, false, onDismissListener);
}
 
Example 3
Source File: BaseFragment.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
public Dialog showDialog(Dialog dialog, Dialog.OnDismissListener onDismissListener)
{
    return showDialog(dialog, false, onDismissListener);
}
 
Example 4
Source File: DialogHelper.java    From Android-Application-ZJB with Apache License 2.0 4 votes vote down vote up
public DialogHelper onDismissListener(Dialog.OnDismissListener dismissListener) {
    this.mOnDismissListener = dismissListener;
    return this;
}
 
Example 5
Source File: BaseFragment.java    From Telegram-FOSS with GNU General Public License v2.0 4 votes vote down vote up
public Dialog showDialog(Dialog dialog, Dialog.OnDismissListener onDismissListener) {
    return showDialog(dialog, false, onDismissListener);
}
 
Example 6
Source File: BaseFragment.java    From Telegram with GNU General Public License v2.0 4 votes vote down vote up
public Dialog showDialog(Dialog dialog, Dialog.OnDismissListener onDismissListener) {
    return showDialog(dialog, false, onDismissListener);
}