English | Site Directory

Android - An Open Handset Alliance Project

android.view
public static interface

android.view.View.OnPopulateContextMenuListener

android.view.View.OnPopulateContextMenuListener

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  onPopulateContextMenu(ContextMenu menu, View v, Object menuInfo)
Called when the context menu for this view is being built

Details

Public Methods

public void onPopulateContextMenu(ContextMenu menu, View v, Object menuInfo)

Called when the context menu for this view is being built

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.
Build m5-rc15g - 14 May 2008 12:50