-
Notifications
You must be signed in to change notification settings - Fork 3
/
IMenuItemOnMenuItemClickListener.xml
93 lines (93 loc) · 6.03 KB
/
IMenuItemOnMenuItemClickListener.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
<Type Name="IMenuItemOnMenuItemClickListener" FullName="Android.Views.IMenuItemOnMenuItemClickListener">
<TypeSignature Language="C#" Value="public interface IMenuItemOnMenuItemClickListener : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IMenuItemOnMenuItemClickListener implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Views.IMenuItemOnMenuItemClickListener" />
<TypeSignature Language="F#" Value="type IMenuItemOnMenuItemClickListener = 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/view/MenuItem$OnMenuItemClickListener", "", "Android.Views.IMenuItemOnMenuItemClickListenerInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/view/MenuItem$OnMenuItemClickListener", "", "Android.Views.IMenuItemOnMenuItemClickListenerInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Interface definition for a callback to be invoked when a menu item is
clicked.</summary>
<remarks>
<para>Interface definition for a callback to be invoked when a menu item is
clicked.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/MenuItem.OnMenuItemClickListener" title="Reference documentation">Java documentation for <code>android.view.MenuItem.OnMenuItemClickListener</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 1" />
</Docs>
<Members>
<Member MemberName="OnMenuItemClick">
<MemberSignature Language="C#" Value="public bool OnMenuItemClick (Android.Views.IMenuItem item);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnMenuItemClick(class Android.Views.IMenuItem item) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.IMenuItemOnMenuItemClickListener.OnMenuItemClick(Android.Views.IMenuItem)" />
<MemberSignature Language="F#" Value="abstract member OnMenuItemClick : Android.Views.IMenuItem -> bool" Usage="iMenuItemOnMenuItemClickListener.OnMenuItemClick item" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onMenuItemClick", "(Landroid/view/MenuItem;)Z", "GetOnMenuItemClick_Landroid_view_MenuItem_Handler:Android.Views.IMenuItemOnMenuItemClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onMenuItemClick", "(Landroid/view/MenuItem;)Z", "GetOnMenuItemClick_Landroid_view_MenuItem_Handler:Android.Views.IMenuItemOnMenuItemClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="item" Type="Android.Views.IMenuItem" />
</Parameters>
<Docs>
<param name="item">The menu item that was invoked.</param>
<summary>Called when a menu item has been invoked.</summary>
<returns>Return true to consume this click and prevent others from
executing.</returns>
<remarks>
<para>Called when a menu item has been invoked. This is the first code
that is executed; if it returns true, no other callbacks will be
executed.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/MenuItem.OnMenuItemClickListener#onMenuItemClick(android.view.MenuItem)" title="Reference documentation">Java documentation for <code>android.view.MenuItem.OnMenuItemClickListener.onMenuItemClick(android.view.MenuItem)</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 1" />
</Docs>
</Member>
</Members>
</Type>