Android API Chinese (--adapterview.adaptercontextmenuinfo)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.