Android
android.view
public static interface

android.view.View.OnCreateContextMenuListener

android.view.View.OnCreateContextMenuListener

Interface definition for a callback to be invoked when the context menu for this view is being built.

Known Indirect Subclasses

Summary

Public Methods

          void  onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
Called when the context menu for this view is being built.

Details

Public Methods

public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)

Called when the context menu for this view is being built. It is not safe to hold onto the menu after this method returns.

Parameters

menu The context menu that is being built
v The view for which the context menu is being built
menuInfo Extra information about the item for which the context menu should be shown. This information will vary depending on the class of v.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48