SimpleAdapter 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
SimpleAdapter(IntPtr, JniHandleOwnership) |
JNI 개체의 관리되는 표현을 만들 때 사용되는 생성자입니다. 런타임에서 호출합니다. |
SimpleAdapter(Context, IList<IDictionary<String,Object>>, Int32, String[], Int32[]) |
생성자 |
SimpleAdapter(IntPtr, JniHandleOwnership)
JNI 개체의 관리되는 표현을 만들 때 사용되는 생성자입니다. 런타임에서 호출합니다.
protected SimpleAdapter(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.SimpleAdapter : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.SimpleAdapter
매개 변수
- transfer
- JniHandleOwnership
JniHandleOwnership처리 방법을 나타내는 AjavaReference
설명
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.
적용 대상
SimpleAdapter(Context, IList<IDictionary<String,Object>>, Int32, String[], Int32[])
생성자
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[I)V", "")]
public SimpleAdapter(Android.Content.Context? context, System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string,object>>? data, int resource, string[]? from, int[]? to);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[I)V", "")>]
new Android.Widget.SimpleAdapter : Android.Content.Context * System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string, obj>> * int * string[] * int[] -> Android.Widget.SimpleAdapter
매개 변수
- context
- Context
이 SimpleAdapter와 연결된 뷰가 실행되는 컨텍스트
- data
- IList<IDictionary<String,Object>>
지도 목록입니다. 목록의 각 항목은 목록의 한 행에 해당합니다. Maps는 각 행에 대한 데이터를 포함하며 "from"에 지정된 모든 항목을 포함해야 합니다.
- resource
- Int32
이 목록 항목의 뷰를 정의하는 뷰 레이아웃의 리소스 식별자입니다. 레이아웃 파일에는 "to"에 정의된 명명된 뷰 이상이 포함되어야 합니다.
- from
- String[]
각 항목과 연결된 맵에 추가될 열 이름 목록입니다.
- to
- Int32[]
"from" 매개 변수에 열을 표시해야 하는 뷰입니다. 모두 TextViews여야 합니다. 이 목록의 첫 번째 N 보기에는 from 매개 변수의 첫 번째 N 열 값이 제공됩니다.
- 특성
설명
생성자
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.