public class ContextMenuManager
extends RecyclerView.OnScrollListener
implements android.view.View.OnAttachStateChangeListener
| Modifier and Type | Method and Description |
|---|---|
ContextMenu |
getContextMenu() |
static ContextMenuManager |
getInstance() |
void |
hideContextMenu() |
void |
onScrolled(RecyclerView recyclerView,
int dx,
int dy) |
void |
onViewAttachedToWindow(android.view.View v) |
void |
onViewDetachedFromWindow(android.view.View v) |
void |
toggleContextMenuFromView(android.view.View openingView,
int contextMenuItem,
java.util.List<ContextMenuAdapter.ContextMenuItem> cm,
ContextMenu.OnContextMenuItemClickListener listener) |
public static ContextMenuManager getInstance()
public void toggleContextMenuFromView(android.view.View openingView,
int contextMenuItem,
java.util.List<ContextMenuAdapter.ContextMenuItem> cm,
ContextMenu.OnContextMenuItemClickListener listener)
public void hideContextMenu()
public ContextMenu getContextMenu()
public void onScrolled(RecyclerView recyclerView,
int dx,
int dy)
public void onViewAttachedToWindow(android.view.View v)
onViewAttachedToWindow in interface android.view.View.OnAttachStateChangeListenerpublic void onViewDetachedFromWindow(android.view.View v)
onViewDetachedFromWindow in interface android.view.View.OnAttachStateChangeListener