Preface
This chapter covers android. widget. AdapterView. AdapterContextMenuInfo. The version is Android 2.3 r1 and translated from "cnmahj". Welcome to his blog: http://android.toolib.net/blog/. Thank you again "cnmahj "! Welcome to join in Android API Chinese translation, contact me over140@gmail.com.
Statement
You are welcome to repost, but please keep the original source of the article :)
Blog Garden: http://www.cnblogs.com/
Android Chinese translation group: http://code.taobao.org/project/view/404/
Body
I. Structure
Public static class AdapterContextMenuInfo extends Object
Implements ContextMenu. ContextMenuInfo
Java. lang. Object
Android. widget. AdapterView. AdapterContextMenuInfo
Ii. Overview
When the context menu of AdapterView is displayedonCreateContextMenu(ContextMenu, View, ContextMenuInfo)
The additional menu information provided by the callback function.
3. Fields
Public longId
The row ID of the subview used to display the context menu.
Public intPosition
The position of the subview used to display the context menu in the adapter.
Public ViewTargetView
The subview used to display the context menu. It is also a subview of AdapterView.
Iv. Constructor
Public AdapterView. AdapterContextMenuInfo (View targetView, int position, long id)
Constructor
V. related chapters
Android api Chinese (73) -- AdapterView
Vi. Supplement
This document is transformed from an online Android Chinese document.