public class DropDownMenu
extends android.widget.PopupWindow
Modifier and Type | Field and Description |
---|---|
protected RecyclerView |
recycler |
Constructor and Description |
---|
DropDownMenu(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
dismiss() |
void |
dismissImmediate() |
ArrayAdapter |
getAdapter() |
DropDown.Mode |
getMode() |
void |
setAdapter(android.support.v7.widget.RecyclerView.Adapter adapter) |
void |
setMode(DropDown.Mode mode) |
void |
setOnItemClickedListener(RecyclerView.OnItemClickedListener listener) |
boolean |
show(android.view.View anchor) |
boolean |
showImmediate(android.view.View anchor) |
void |
update() |
getAnimationStyle, getBackground, getContentView, getElevation, getEnterTransition, getExitTransition, getHeight, getInputMethodMode, getMaxAvailableHeight, getMaxAvailableHeight, getMaxAvailableHeight, getOverlapAnchor, getSoftInputMode, getWidth, getWindowLayoutType, isAboveAnchor, isAttachedInDecor, isClippingEnabled, isFocusable, isOutsideTouchable, isShowing, isSplitTouchEnabled, isTouchable, setAnimationStyle, setAttachedInDecor, setBackgroundDrawable, setClippingEnabled, setContentView, setElevation, setEnterTransition, setExitTransition, setFocusable, setHeight, setIgnoreCheekPress, setInputMethodMode, setOnDismissListener, setOutsideTouchable, setOverlapAnchor, setSoftInputMode, setSplitTouchEnabled, setTouchable, setTouchInterceptor, setWidth, setWindowLayoutMode, setWindowLayoutType, showAsDropDown, showAsDropDown, showAsDropDown, showAtLocation, update, update, update, update, update
protected RecyclerView recycler
public boolean show(android.view.View anchor)
public boolean showImmediate(android.view.View anchor)
public void update()
update
in class android.widget.PopupWindow
public void dismiss()
dismiss
in class android.widget.PopupWindow
public void dismissImmediate()
public void setOnItemClickedListener(RecyclerView.OnItemClickedListener listener)
public void setAdapter(android.support.v7.widget.RecyclerView.Adapter adapter)
public ArrayAdapter getAdapter()
public DropDown.Mode getMode()
public void setMode(DropDown.Mode mode)