ListPopupWindow

Page 1 2

public void setOnDismissListener(PopupWindow.OnDismissListener listener) source
public void setInputMethodMode(int mode) source
public int getInputMethodMode() source
public void setSelection(int position) source
public void clearListSelection() source
public boolean isShowing() source
public boolean isInputMethodNotNeeded() source
public boolean performItemClick(int position) source

A click on an item does what a tap on it in the list would do.

public Object getSelectedItem() source
public int getSelectedItemPosition() source
public long getSelectedItemId() source
public View getSelectedView() source
public ListView getListView() source
public View.OnTouchListener createDragToOpenListener(View src) source

A drag from the source view does not open the list: the listener takes no touch.

Page 1 2


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.