Objective
This chapter is Android.widget.AdapterView.AdapterContextMenuInfo, version of Android 2.3 R1, translated from "Cnmahj", Welcome to visit his blog:/http android.toolib.net/blog/, thanks again for "Cnmahj"! You are welcome to participate in the Chinese translation of Android API, contact me [email protected].
Statement
Welcome reprint, but please keep the original source of the article:)
Blog Park: http://www.cnblogs.com/
Android Chinese translation group: http://code.taobao.org/project/view/404/
Body
First, the structure
public static class adaptercontextmenuinfo extends Object
Implements Contextmenu.contextmenuinfo
Java.lang.Object
Android.widget.AdapterView.AdapterContextMenuInfo
Ii. Overview
The onCreateContextMenu(ContextMenu, View, ContextMenuInfo) Additional menu information provided for the callback function when the Adapterview context menu is displayed.
Third, field
Public long ID
The row ID used to display the child view of the context menu.
public int Position
Used to display the location of the child view of the context menu in the adapter.
Public View targetview
Used to display a child view of the context menu. Is also one of Adapterview's child views.
Four, the constructor function
Public Adapterview.adaptercontextmenuinfo (View targetview, int position, long ID)
constructor function
V. Related chapters
Android API Chinese (--adapterview)
Vi. Supplementary
This article was converted from the Android Chinese online document .
Android API Chinese (--adapterview.adaptercontextmenuinfo)