public class ListPopup extends BaseCustomPopup
EasyPopup.OnAttachedWindowListenerisBackgroundDim, mAnimationStyle, mContentView, mDimColor, mDimValue, mDimView, mEnterTransition, mExitTransition, mFocusable, mHeight, mLayoutId, mOutsideTouchable, mWidth| Modifier | Constructor and Description |
|---|---|
protected |
ListPopup(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
android.widget.BaseAdapter |
getAdapter() |
int |
getMaxHeight() |
protected void |
initAttributes()
可以在此方法中设置PopupWindow需要的属性
|
protected void |
initViews(android.view.View view)
初始化view
|
ListPopup |
setAdapter(android.widget.BaseAdapter adapter) |
ListPopup |
setMaxHeight(int maxHeight) |
ListPopup |
setOnItemClickListener(android.widget.AdapterView.OnItemClickListener onItemClickListener) |
onPopupWindowCreated, onPopupWindowDismiss, onPopupWindowViewCreatedcreatePopup, dismiss, getContentView, getContext, getPopupWindow, getView, isShow, onDismiss, setAnchorView, setAnimationStyle, setBackgroundDimEnable, setContentView, setContentView, setContentView, setContentView, setDimColor, setDimValue, setDimView, setEnterTransition, setExitTransition, setFocusable, setFocusAndOutsideEnable, setHeight, setHorizontalGravity, setOffsetX, setOffsetY, setOnAttachedWindowListener, setOnDismissListener, setOutsideTouchable, setVerticalGravity, setWidth, showAsDropDown, showAsDropDown, showAsDropDown, showAsDropDown, showAtAnchorView, showAtAnchorView, showAtAnchorView, showAtLocationprotected void initAttributes()
BaseCustomPopupinitAttributes in class BaseCustomPopupprotected void initViews(android.view.View view)
BaseCustomPopupinitViews in class BaseCustomPopuppublic android.widget.BaseAdapter getAdapter()
public ListPopup setAdapter(android.widget.BaseAdapter adapter)
public int getMaxHeight()
public ListPopup setMaxHeight(int maxHeight)
public ListPopup setOnItemClickListener(android.widget.AdapterView.OnItemClickListener onItemClickListener)