This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
IHeterogeneousExpandableList.xml
228 lines (228 loc) · 16 KB
/
IHeterogeneousExpandableList.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<Type Name="IHeterogeneousExpandableList" FullName="Android.Widget.IHeterogeneousExpandableList">
<TypeSignature Language="C#" Value="public interface IHeterogeneousExpandableList : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IHeterogeneousExpandableList implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Widget.IHeterogeneousExpandableList" />
<TypeSignature Language="F#" Value="type IHeterogeneousExpandableList = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/widget/HeterogeneousExpandableList", "", "Android.Widget.IHeterogeneousExpandableListInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/widget/HeterogeneousExpandableList", "", "Android.Widget.IHeterogeneousExpandableListInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="8">
<summary>Additional methods that when implemented make an
<c>ExpandableListAdapter</c> take advantage of the <c>Adapter</c> view type
mechanism.</summary>
<remarks>
<para>Additional methods that when implemented make an
<c>ExpandableListAdapter</c> take advantage of the <c>Adapter</c> view type
mechanism.</para>
<para>An <c>ExpandableListAdapter</c> declares it has one view type for its group items
and one view type for its child items. Although adapted for most <c>ExpandableListView</c>s,
these values should be tuned for heterogeneous <c>ExpandableListView</c>s.</para>
<para>Lists that contain different types of group and/or child item views, should use an adapter that
implements this interface. This way, the recycled views that will be provided to
<c>android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)</c>
and
<c>android.widget.ExpandableListAdapter#getChildView(int, int, boolean, View, ViewGroup)</c>
will be of the appropriate group or child type, resulting in a more efficient reuse of the
previously created views.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/widget/HeterogeneousExpandableList" title="Reference documentation">Java documentation for <code>android.widget.HeterogeneousExpandableList</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
</Docs>
<Members>
<Member MemberName="ChildTypeCount">
<MemberSignature Language="C#" Value="public int ChildTypeCount { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 ChildTypeCount" />
<MemberSignature Language="DocId" Value="P:Android.Widget.IHeterogeneousExpandableList.ChildTypeCount" />
<MemberSignature Language="F#" Value="member this.ChildTypeCount : int" Usage="Android.Widget.IHeterogeneousExpandableList.ChildTypeCount" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getChildTypeCount", "()I", "GetGetChildTypeCountHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getChildTypeCount", "()I", "GetGetChildTypeCountHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary tool="true">
This method will only be called when the adapter is set on the <see cref="T:Android.Widget.AdapterView" />.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
<altmember cref="P:Android.Widget.IHeterogeneousExpandableList.GroupTypeCount" />
<altmember cref="M:Android.Widget.IHeterogeneousExpandableList.GetChildType(System.Int32, System.Int32)" />
</Docs>
</Member>
<Member MemberName="GetChildType">
<MemberSignature Language="C#" Value="public int GetChildType (int groupPosition, int childPosition);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetChildType(int32 groupPosition, int32 childPosition) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Widget.IHeterogeneousExpandableList.GetChildType(System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="abstract member GetChildType : int * int -> int" Usage="iHeterogeneousExpandableList.GetChildType (groupPosition, childPosition)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getChildType", "(II)I", "GetGetChildType_IIHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getChildType", "(II)I", "GetGetChildType_IIHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="groupPosition" Type="System.Int32" />
<Parameter Name="childPosition" Type="System.Int32" />
</Parameters>
<Docs>
<param name="groupPosition">the position of the group that the child resides in</param>
<param name="childPosition">the position of the child with respect to other children in the group</param>
<summary>Get the type of child View that will be created by
<c>android.widget.ExpandableListAdapter#getChildView(int, int, boolean, View, ViewGroup)</c>
for the specified child item.</summary>
<returns>An integer representing the type of child View. Two child views should share the same
type if one can be converted to the other in
<c>android.widget.ExpandableListAdapter#getChildView(int, int, boolean, View, ViewGroup)</c>
Note: Integers must be in the range 0 to <c>#getChildTypeCount</c> - 1.
<c>android.widget.Adapter#IGNORE_ITEM_VIEW_TYPE</c> can also be returned.</returns>
<remarks>
<para>Get the type of child View that will be created by
<c>android.widget.ExpandableListAdapter#getChildView(int, int, boolean, View, ViewGroup)</c>
for the specified child item.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/widget/HeterogeneousExpandableList#getChildType(int,%20int)" title="Reference documentation">Java documentation for <code>android.widget.HeterogeneousExpandableList.getChildType(int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
<altmember cref="F:Android.Widget.Adapter.IgnoreItemViewType" />
<altmember cref="P:Android.Widget.IHeterogeneousExpandableList.ChildTypeCount" />
</Docs>
</Member>
<Member MemberName="GetGroupType">
<MemberSignature Language="C#" Value="public int GetGroupType (int groupPosition);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetGroupType(int32 groupPosition) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Widget.IHeterogeneousExpandableList.GetGroupType(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member GetGroupType : int -> int" Usage="iHeterogeneousExpandableList.GetGroupType groupPosition" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getGroupType", "(I)I", "GetGetGroupType_IHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getGroupType", "(I)I", "GetGetGroupType_IHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="groupPosition" Type="System.Int32" />
</Parameters>
<Docs>
<param name="groupPosition">the position of the group for which the type should be returned.</param>
<summary>Get the type of group View that will be created by
<c>android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)</c>
.</summary>
<returns>An integer representing the type of group View. Two group views should share the same
type if one can be converted to the other in
<c>android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)</c>
. Note: Integers must be in the range 0 to <c>#getGroupTypeCount</c> - 1.
<c>android.widget.Adapter#IGNORE_ITEM_VIEW_TYPE</c> can also be returned.</returns>
<remarks>
<para>Get the type of group View that will be created by
<c>android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)</c>
. for the specified group item.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/widget/HeterogeneousExpandableList#getGroupType(int)" title="Reference documentation">Java documentation for <code>android.widget.HeterogeneousExpandableList.getGroupType(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
<altmember cref="F:Android.Widget.Adapter.IgnoreItemViewType" />
<altmember cref="P:Android.Widget.IHeterogeneousExpandableList.GroupTypeCount" />
</Docs>
</Member>
<Member MemberName="GroupTypeCount">
<MemberSignature Language="C#" Value="public int GroupTypeCount { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 GroupTypeCount" />
<MemberSignature Language="DocId" Value="P:Android.Widget.IHeterogeneousExpandableList.GroupTypeCount" />
<MemberSignature Language="F#" Value="member this.GroupTypeCount : int" Usage="Android.Widget.IHeterogeneousExpandableList.GroupTypeCount" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getGroupTypeCount", "()I", "GetGetGroupTypeCountHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getGroupTypeCount", "()I", "GetGetGroupTypeCountHandler:Android.Widget.IHeterogeneousExpandableListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary tool="true">
This method will only be called when the adapter is set on the <see cref="T:Android.Widget.AdapterView" />.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
<altmember cref="P:Android.Widget.IHeterogeneousExpandableList.ChildTypeCount" />
<altmember cref="M:Android.Widget.IHeterogeneousExpandableList.GetGroupType(System.Int32)" />
</Docs>
</Member>
</Members>
</Type>