当前位置: 首页>>代码示例>>Java>>正文


Java PopupWindow.OnDismissListener方法代码示例

本文整理汇总了Java中android.widget.PopupWindow.OnDismissListener方法的典型用法代码示例。如果您正苦于以下问题:Java PopupWindow.OnDismissListener方法的具体用法?Java PopupWindow.OnDismissListener怎么用?Java PopupWindow.OnDismissListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在android.widget.PopupWindow的用法示例。


在下文中一共展示了PopupWindow.OnDismissListener方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setOnDissmissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
public PopupWindowBuilder setOnDissmissListener(PopupWindow.OnDismissListener onDissmissListener){
    mCustomPopWindow.mOnDismissListener = onDissmissListener;
    return this;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:5,代码来源:CustomPopWindow.java

示例2: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
public void setOnDismissListener(PopupWindow.OnDismissListener listener) {
    if (null != mPopupWindow) {
        mPopupWindow.setOnDismissListener(listener);
    }
}
 
开发者ID:InnoFang,项目名称:Android-Code-Demos,代码行数:6,代码来源:CustomPopupWindow.java

示例3: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
public void setOnDismissListener(PopupWindow.OnDismissListener listener) {
    mPopup.setOnDismissListener(listener);
}
 
开发者ID:treasure-lau,项目名称:CSipSimple,代码行数:4,代码来源:IcsListPopupWindow.java

示例4: setOnDissmissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
/**
 * 设置弹窗关闭监听
 * @param onDismissListener listener
 */
public CustomPopupWindow.PopupWindowBuilder setOnDissmissListener(PopupWindow.OnDismissListener onDismissListener) {
    this.mCustomPopWindow.mOnDismissListener = onDismissListener;
    return this;
}
 
开发者ID:yangchong211,项目名称:YCDialog,代码行数:9,代码来源:CustomPopupWindow.java

示例5: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
public void setOnDismissListener(PopupWindow.OnDismissListener listener) {
    mDismissListener = listener;
}
 
开发者ID:coopese,项目名称:qmui,代码行数:4,代码来源:QMUIBasePopup.java

示例6: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
public void setOnDismissListener(PopupWindow.OnDismissListener dismissListener) {
	this.dismissListener = dismissListener;
}
 
开发者ID:MobClub,项目名称:BBSSDK-for-Android,代码行数:4,代码来源:ReplyEditorPopWindow.java

示例7: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
void setOnDismissListener(PopupWindow.OnDismissListener listener) {
    mPopup.setOnDismissListener(listener);
}
 
开发者ID:natario1,项目名称:Autocomplete,代码行数:4,代码来源:AutocompletePopup.java

示例8: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
/**
 * Set listener on window dismissed.
 *
 * @param listener listener
 */
@SuppressWarnings("WeakerAccess")
public void setOnDismissListener(final PopupWindow.OnDismissListener listener)
{
	this.window.setOnDismissListener(listener);
}
 
开发者ID:1313ou,项目名称:TreebolicLib,代码行数:11,代码来源:PopupAdapter.java

示例9: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
/**
 * 设置监听器
 *
 * @param listener
 */
public <T extends EasyPopup> T setOnDismissListener(PopupWindow.OnDismissListener listener) {
    this.mOnDismissListener = listener;
    return (T) this;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:10,代码来源:EasyPopup.java

示例10: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
/**
 * Sets a listener to receive a callback when the popup is dismissed.
 *
 * @param listener The listener to be notified.
 */
public void setOnDismissListener(PopupWindow.OnDismissListener listener) {
    mOnDismissListener = listener;
}
 
开发者ID:treasure-lau,项目名称:CSipSimple,代码行数:9,代码来源:ActivityChooserView.java

示例11: setOnDismissListener

import android.widget.PopupWindow; //导入方法依赖的package包/类
/**
    * If you want to do anything when {@link dismiss} is called
    * 
    * @param listener
    */
public void setOnDismissListener(PopupWindow.OnDismissListener listener) {
    window.setOnDismissListener(listener);
}
 
开发者ID:archos-sa,项目名称:aos-MediaLib,代码行数:9,代码来源:CustomPopupWindow.java


注:本文中的android.widget.PopupWindow.OnDismissListener方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。