# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods

# View.OnCreateContextMenuListener

`public static interface View.OnCreateContextMenuListener`
``

android.view.View.OnCreateContextMenuListener

Known indirect subclasses AccountAuthenticatorActivity, Activity, ActivityGroup, AlertDialog, AliasActivity, CharacterPickerDialog, DatePickerDialog, Dialog, DialogFragment, ExpandableListActivity, Fragment, LauncherActivity, ListActivity, ListFragment, NativeActivity, and 7 others.
AccountAuthenticatorActivity | This class is deprecated. Applications should extend Activity themselves. This class is not compatible with AppCompat, and the functionality it provides is not complex.
Activity | An activity is a single, focused thing that the user can do.
ActivityGroup | This class is deprecated. Use the new `Fragment` and `FragmentManager` APIs instead; these are also available on older platforms through the Android compatibility package.
AlertDialog | A subclass of Dialog that can display one, two or three buttons.
AliasActivity | This class is deprecated. Use `<activity-alias>` or subclass Activity directly.
CharacterPickerDialog | Dialog for choosing accented characters related to a base character.
DatePickerDialog | A simple dialog containing an `DatePicker`.
Dialog | Base class for Dialogs.
DialogFragment | This class is deprecated. Use the Support Library `DialogFragment` for consistent behavior across all devices and access to Lifecycle.
ExpandableListActivity | This class is deprecated. Use `RecyclerView` or use `ExpandableListView` directly
Fragment | This class is deprecated. Use the Support Library `Fragment` for consistent behavior across all devices and access to Lifecycle.
LauncherActivity | This class is deprecated. Applications can implement this UI themselves using `RecyclerView` and `PackageManager.queryIntentActivities(Intent, int)`
ListActivity | This class is deprecated. Use `ListFragment` or `RecyclerView` to implement your Activity instead.
ListFragment | This class is deprecated. Use the Support Library `ListFragment` for consistent behavior across all devices and access to Lifecycle.
NativeActivity | Convenience for implementing an activity that will be implemented purely in native code.
PreferenceActivity | This class is deprecated. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings.
PreferenceFragment | This class is deprecated. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings.
Presentation | Base class for presentations.
ProgressDialog | This class is deprecated. `ProgressDialog` is a modal dialog, which prevents the user from interacting with the app. Instead of using this class, you should use a progress indicator like `ProgressBar`, which can be embedded in your app's UI. Alternatively, you can use a notification to inform the user of the task's progress.
TabActivity | This class is deprecated. New applications should use Fragments instead of this class; to continue to run on older devices, you can use the v4 support library which provides a version of the Fragment API that is compatible down to `Build.VERSION_CODES.DONUT`.
TimePickerDialog | A dialog that prompts the user for the time of day using a `TimePicker`.
WebViewFragment | This class is deprecated. Manually call `WebView#onPause()` and `WebView#onResume()`

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

## Summary

### Public methods
`abstract void` | `onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)` Called when the context menu for this view is being built.

## Public methods

### onCreateContextMenu

    public abstract 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` | `ContextMenu`: The context menu that is being built
`v` | `View`: The view for which the context menu is being built
`menuInfo` | `ContextMenu.ContextMenuInfo`: Extra information about the item for which the context menu should be shown. This information will vary depending on the class of v.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*