From f141f7ab48061e50ed3ee201c606183e8ae3f9b3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 31 May 2024 17:39:08 +0200 Subject: [PATCH] Update generated classes after commit bbd2852 (#19) Co-authored-by: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com> --- .../Android/Icu/Number/AllPackageClasses.cs | 97 +- .../Icu/Number/NumberFormatterSettings.cs | 345 ---- .../Android/Widget/AllPackageClasses.cs | 111 -- .../Generated/Android/Widget/ArrayAdapter.cs | 1601 ----------------- 4 files changed, 2 insertions(+), 2152 deletions(-) delete mode 100644 src/net/Netdroid/Generated/Android/Icu/Number/NumberFormatterSettings.cs delete mode 100644 src/net/Netdroid/Generated/Android/Widget/ArrayAdapter.cs diff --git a/src/net/Netdroid/Generated/Android/Icu/Number/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Icu/Number/AllPackageClasses.cs index 8a8baeae1..a43cd3b18 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Number/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Number/AllPackageClasses.cs @@ -298,7 +298,7 @@ public IntegerWidth(params object[] args) : base(args) { } /// /// /// - public partial class LocalizedNumberFormatter : Android.Icu.Number.NumberFormatterSettings + public partial class LocalizedNumberFormatter : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "android.icu.number.LocalizedNumberFormatter"; /// @@ -734,99 +734,6 @@ public UnitWidth(params object[] args) : base(args) { } } #endregion - #region NumberFormatterSettings - /// - /// - /// - public partial class NumberFormatterSettings : MASES.JCOBridge.C2JBridge.JVMBridgeBase - { - const string _bridgeClassName = "android.icu.number.NumberFormatterSettings"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [Obsolete("NumberFormatterSettings class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public NumberFormatterSettings() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [Obsolete("NumberFormatterSettings class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public NumberFormatterSettings(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => false; - /// - /// - /// - public override bool IsBridgeStatic => false; - - // TODO: complete the class - - } - #endregion - - #region NumberFormatterSettings - /// - /// - /// - /// - public partial class NumberFormatterSettings : MASES.JCOBridge.C2JBridge.JVMBridgeBase> where T: Android.Icu.Number.NumberFormatterSettings - { - const string _bridgeClassName = "android.icu.number.NumberFormatterSettings"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [Obsolete("NumberFormatterSettings class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public NumberFormatterSettings() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [Obsolete("NumberFormatterSettings class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public NumberFormatterSettings(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => false; - /// - /// - /// - public override bool IsBridgeStatic => false; - - // TODO: complete the class - - } - #endregion - #region NumberRangeFormatter /// /// @@ -1280,7 +1187,7 @@ public SimpleNotation(params object[] args) : base(args) { } /// /// /// - public partial class UnlocalizedNumberFormatter : Android.Icu.Number.NumberFormatterSettings + public partial class UnlocalizedNumberFormatter : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "android.icu.number.UnlocalizedNumberFormatter"; /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Number/NumberFormatterSettings.cs b/src/net/Netdroid/Generated/Android/Icu/Number/NumberFormatterSettings.cs deleted file mode 100644 index cdbb6d234..000000000 --- a/src/net/Netdroid/Generated/Android/Icu/Number/NumberFormatterSettings.cs +++ /dev/null @@ -1,345 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge; - -namespace Android.Icu.Number -{ - #region NumberFormatterSettings - public partial class NumberFormatterSettings - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Decimal(Android.Icu.Number.NumberFormatter.DecimalSeparatorDisplay arg0) - { - return IExecuteWithSignature("decimal", "(Landroid/icu/number/NumberFormatter$DecimalSeparatorDisplay;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Grouping(Android.Icu.Number.NumberFormatter.GroupingStrategy arg0) - { - return IExecuteWithSignature("grouping", "(Landroid/icu/number/NumberFormatter$GroupingStrategy;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings IntegerWidth(Android.Icu.Number.IntegerWidth arg0) - { - return IExecuteWithSignature("integerWidth", "(Landroid/icu/number/IntegerWidth;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Notation(Android.Icu.Number.Notation arg0) - { - return IExecuteWithSignature("notation", "(Landroid/icu/number/Notation;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings PerUnit(Android.Icu.Util.MeasureUnit arg0) - { - return IExecuteWithSignature("perUnit", "(Landroid/icu/util/MeasureUnit;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Precision(Android.Icu.Number.Precision arg0) - { - return IExecuteWithSignature("precision", "(Landroid/icu/number/Precision;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings RoundingMode(Java.Math.RoundingMode arg0) - { - return IExecuteWithSignature("roundingMode", "(Ljava/math/RoundingMode;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Scale(Android.Icu.Number.Scale arg0) - { - return IExecuteWithSignature("scale", "(Landroid/icu/number/Scale;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Sign(Android.Icu.Number.NumberFormatter.SignDisplay arg0) - { - return IExecuteWithSignature("sign", "(Landroid/icu/number/NumberFormatter$SignDisplay;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Symbols(Android.Icu.Text.DecimalFormatSymbols arg0) - { - return IExecuteWithSignature("symbols", "(Landroid/icu/text/DecimalFormatSymbols;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Symbols(Android.Icu.Text.NumberingSystem arg0) - { - return IExecuteWithSignature("symbols", "(Landroid/icu/text/NumberingSystem;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Unit(Android.Icu.Util.MeasureUnit arg0) - { - return IExecuteWithSignature("unit", "(Landroid/icu/util/MeasureUnit;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings UnitWidth(Android.Icu.Number.NumberFormatter.UnitWidth arg0) - { - return IExecuteWithSignature("unitWidth", "(Landroid/icu/number/NumberFormatter$UnitWidth;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public Android.Icu.Number.NumberFormatterSettings Usage(Java.Lang.String arg0) - { - return IExecuteWithSignature("usage", "(Ljava/lang/String;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region NumberFormatterSettings - public partial class NumberFormatterSettings - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - /// - /// Converter from to - /// - public static implicit operator Android.Icu.Number.NumberFormatterSettings(Android.Icu.Number.NumberFormatterSettings t) => t.Cast(); - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - /// - /// - public T Decimal(Android.Icu.Number.NumberFormatter.DecimalSeparatorDisplay arg0) - { - return IExecuteWithSignature("decimal", "(Landroid/icu/number/NumberFormatter$DecimalSeparatorDisplay;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Grouping(Android.Icu.Number.NumberFormatter.GroupingStrategy arg0) - { - return IExecuteWithSignature("grouping", "(Landroid/icu/number/NumberFormatter$GroupingStrategy;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T IntegerWidth(Android.Icu.Number.IntegerWidth arg0) - { - return IExecuteWithSignature("integerWidth", "(Landroid/icu/number/IntegerWidth;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Notation(Android.Icu.Number.Notation arg0) - { - return IExecuteWithSignature("notation", "(Landroid/icu/number/Notation;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T PerUnit(Android.Icu.Util.MeasureUnit arg0) - { - return IExecuteWithSignature("perUnit", "(Landroid/icu/util/MeasureUnit;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Precision(Android.Icu.Number.Precision arg0) - { - return IExecuteWithSignature("precision", "(Landroid/icu/number/Precision;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T RoundingMode(Java.Math.RoundingMode arg0) - { - return IExecuteWithSignature("roundingMode", "(Ljava/math/RoundingMode;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Scale(Android.Icu.Number.Scale arg0) - { - return IExecuteWithSignature("scale", "(Landroid/icu/number/Scale;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Sign(Android.Icu.Number.NumberFormatter.SignDisplay arg0) - { - return IExecuteWithSignature("sign", "(Landroid/icu/number/NumberFormatter$SignDisplay;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Symbols(Android.Icu.Text.DecimalFormatSymbols arg0) - { - return IExecuteWithSignature("symbols", "(Landroid/icu/text/DecimalFormatSymbols;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Symbols(Android.Icu.Text.NumberingSystem arg0) - { - return IExecuteWithSignature("symbols", "(Landroid/icu/text/NumberingSystem;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Unit(Android.Icu.Util.MeasureUnit arg0) - { - return IExecuteWithSignature("unit", "(Landroid/icu/util/MeasureUnit;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T UnitWidth(Android.Icu.Number.NumberFormatter.UnitWidth arg0) - { - return IExecuteWithSignature("unitWidth", "(Landroid/icu/number/NumberFormatter$UnitWidth;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - /// - /// - /// - /// - /// - public T Usage(Java.Lang.String arg0) - { - return IExecuteWithSignature("usage", "(Ljava/lang/String;)Landroid/icu/number/NumberFormatterSettings;", arg0); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion -} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/Widget/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Widget/AllPackageClasses.cs index 39fb19daa..2185def39 100644 --- a/src/net/Netdroid/Generated/Android/Widget/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Widget/AllPackageClasses.cs @@ -1131,117 +1131,6 @@ public AlphabetIndexer(params object[] args) : base(args) { } } #endregion - #region ArrayAdapter - /// - /// - /// - public partial class ArrayAdapter : MASES.JCOBridge.C2JBridge.JVMBridgeListener - { - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - public ArrayAdapter() { InitializeHandlers(); } - - #warning Remember to build the Java class for event listener - - // TODO: complete the class - - } - #endregion - - #region ArrayAdapterDirect - /// - /// Direct override of or its generic type if there is one - /// - public partial class ArrayAdapterDirect : ArrayAdapter - { - /// - /// - /// - public override bool AutoInit => false; - - /// - protected override void InitializeHandlers() { } - - /// - /// - /// - public override string BridgeClassName => "android.widget.ArrayAdapter"; - /// - /// - /// - public override bool IsBridgeAbstract => false; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => false; - /// - /// - /// - public override bool IsBridgeStatic => false; - } - #endregion - - #region ArrayAdapter - /// - /// - /// - /// - public partial class ArrayAdapter : MASES.JCOBridge.C2JBridge.JVMBridgeListener - { - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - public ArrayAdapter() { InitializeHandlers(); } - - #warning Remember to build the Java class for event listener - - // TODO: complete the class - - } - #endregion - - #region ArrayAdapterDirect - /// - /// Direct override of or its generic type if there is one - /// - public partial class ArrayAdapterDirect : ArrayAdapter - { - /// - /// - /// - public override bool AutoInit => false; - - /// - protected override void InitializeHandlers() { } - - /// - /// - /// - public override string BridgeClassName => "android.widget.ArrayAdapter"; - /// - /// - /// - public override bool IsBridgeAbstract => false; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => false; - /// - /// - /// - public override bool IsBridgeStatic => false; - } - #endregion - #region AutoCompleteTextView /// /// diff --git a/src/net/Netdroid/Generated/Android/Widget/ArrayAdapter.cs b/src/net/Netdroid/Generated/Android/Widget/ArrayAdapter.cs deleted file mode 100644 index 87845fb07..000000000 --- a/src/net/Netdroid/Generated/Android/Widget/ArrayAdapter.cs +++ /dev/null @@ -1,1601 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge; - -namespace Android.Widget -{ - #region ArrayAdapter - public partial class ArrayAdapter - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnCreateFromResource { get; set; } = null; - - void CreateFromResourceEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnCreateFromResource != null) ? OnCreateFromResource : CreateFromResource; - var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - /// - /// - /// - public virtual Android.Widget.ArrayAdapter CreateFromResource(Android.Content.Context arg0, int arg1, int arg2) - { - return default; - } - - #endregion - - #region Instance methods - /// - /// Handlers initializer for - /// - protected virtual void InitializeHandlers() - { - AddEventHandler("getContext", new System.EventHandler>(GetContextEventHandler)); - AddEventHandler("getDropDownViewTheme", new System.EventHandler>(GetDropDownViewThemeEventHandler)); - AddEventHandler("getFilter", new System.EventHandler>(GetFilterEventHandler)); - AddEventHandler("areAllItemsEnabled", new System.EventHandler>(AreAllItemsEnabledEventHandler)); - AddEventHandler("hasStableIds", new System.EventHandler>(HasStableIdsEventHandler)); - AddEventHandler("isEmpty", new System.EventHandler>(IsEmptyEventHandler)); - AddEventHandler("isEnabled", new System.EventHandler>>(IsEnabledEventHandler)); - AddEventHandler("getPosition", new System.EventHandler>>(GetPositionEventHandler)); - AddEventHandler("getItemViewType", new System.EventHandler>>(GetItemViewTypeEventHandler)); - AddEventHandler("getViewTypeCount", new System.EventHandler>(GetViewTypeCountEventHandler)); - AddEventHandler("add", new System.EventHandler>>(AddEventHandler)); - AddEventHandler("addAll", new System.EventHandler>>(AddAllEventHandler)); - AddEventHandler("addAll1", new System.EventHandler>>(AddAll1EventHandler)); - AddEventHandler("clear", new System.EventHandler>(ClearEventHandler)); - AddEventHandler("insert", new System.EventHandler>>(InsertEventHandler)); - AddEventHandler("remove", new System.EventHandler>>(RemoveEventHandler)); - AddEventHandler("setDropDownViewResource", new System.EventHandler>>(SetDropDownViewResourceEventHandler)); - AddEventHandler("setDropDownViewTheme", new System.EventHandler>>(SetDropDownViewThemeEventHandler)); - AddEventHandler("setNotifyOnChange", new System.EventHandler>>(SetNotifyOnChangeEventHandler)); - AddEventHandler("notifyDataSetInvalidated", new System.EventHandler>(NotifyDataSetInvalidatedEventHandler)); - AddEventHandler("registerDataSetObserver", new System.EventHandler>>(RegisterDataSetObserverEventHandler)); - AddEventHandler("setAutofillOptions", new System.EventHandler>>(SetAutofillOptionsEventHandler)); - AddEventHandler("unregisterDataSetObserver", new System.EventHandler>>(UnregisterDataSetObserverEventHandler)); - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetContext { get; set; } = null; - - void GetContextEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnGetContext != null) ? OnGetContext : GetContext; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual Android.Content.Context GetContext() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetDropDownViewTheme { get; set; } = null; - - void GetDropDownViewThemeEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnGetDropDownViewTheme != null) ? OnGetDropDownViewTheme : GetDropDownViewTheme; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual Android.Content.Res.Resources.Theme GetDropDownViewTheme() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetFilter { get; set; } = null; - - void GetFilterEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnGetFilter != null) ? OnGetFilter : GetFilter; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual Android.Widget.Filter GetFilter() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnAreAllItemsEnabled { get; set; } = null; - - void AreAllItemsEnabledEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnAreAllItemsEnabled != null) ? OnAreAllItemsEnabled : AreAllItemsEnabled; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual bool AreAllItemsEnabled() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnHasStableIds { get; set; } = null; - - void HasStableIdsEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnHasStableIds != null) ? OnHasStableIds : HasStableIds; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual bool HasStableIds() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnIsEmpty { get; set; } = null; - - void IsEmptyEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnIsEmpty != null) ? OnIsEmpty : IsEmpty; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual bool IsEmpty() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnIsEnabled { get; set; } = null; - - void IsEnabledEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnIsEnabled != null) ? OnIsEnabled : IsEnabled; - var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - /// - public virtual bool IsEnabled(int arg0) - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetPosition { get; set; } = null; - - void GetPositionEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnGetPosition != null) ? OnGetPosition : GetPosition; - var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - /// - public virtual int GetPosition(object arg0) - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetItemViewType { get; set; } = null; - - void GetItemViewTypeEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnGetItemViewType != null) ? OnGetItemViewType : GetItemViewType; - var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - /// - public virtual int GetItemViewType(int arg0) - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetViewTypeCount { get; set; } = null; - - void GetViewTypeCountEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnGetViewTypeCount != null) ? OnGetViewTypeCount : GetViewTypeCount; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual int GetViewTypeCount() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnAdd { get; set; } = null; - - void AddEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnAdd != null) ? OnAdd : Add; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void Add(object arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnAddAll { get; set; } = null; - - void AddAllEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnAddAll != null) ? OnAddAll : AddAll; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void AddAll(Java.Util.Collection arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action<> OnAddAll1 { get; set; } = null; - - void AddAll1EventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnAddAll1 != null) ? OnAddAll1 : AddAll; - methodToExecute.Invoke(); - } - - /// - /// - /// - /// - public virtual void AddAll(params object[] arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnClear { get; set; } = null; - - void ClearEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnClear != null) ? OnClear : Clear; - methodToExecute.Invoke(); - } - - /// - /// - /// - public virtual void Clear() - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnInsert { get; set; } = null; - - void InsertEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnInsert != null) ? OnInsert : Insert; - methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); - } - - /// - /// - /// - /// - /// - public virtual void Insert(object arg0, int arg1) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnRemove { get; set; } = null; - - void RemoveEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnRemove != null) ? OnRemove : Remove; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void Remove(object arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnSetDropDownViewResource { get; set; } = null; - - void SetDropDownViewResourceEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnSetDropDownViewResource != null) ? OnSetDropDownViewResource : SetDropDownViewResource; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void SetDropDownViewResource(int arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnSetDropDownViewTheme { get; set; } = null; - - void SetDropDownViewThemeEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnSetDropDownViewTheme != null) ? OnSetDropDownViewTheme : SetDropDownViewTheme; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void SetDropDownViewTheme(Android.Content.Res.Resources.Theme arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnSetNotifyOnChange { get; set; } = null; - - void SetNotifyOnChangeEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnSetNotifyOnChange != null) ? OnSetNotifyOnChange : SetNotifyOnChange; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void SetNotifyOnChange(bool arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnNotifyDataSetInvalidated { get; set; } = null; - - void NotifyDataSetInvalidatedEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnNotifyDataSetInvalidated != null) ? OnNotifyDataSetInvalidated : NotifyDataSetInvalidated; - methodToExecute.Invoke(); - } - - /// - /// - /// - public virtual void NotifyDataSetInvalidated() - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnRegisterDataSetObserver { get; set; } = null; - - void RegisterDataSetObserverEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnRegisterDataSetObserver != null) ? OnRegisterDataSetObserver : RegisterDataSetObserver; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void RegisterDataSetObserver(Android.Database.DataSetObserver arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action<> OnSetAutofillOptions { get; set; } = null; - - void SetAutofillOptionsEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnSetAutofillOptions != null) ? OnSetAutofillOptions : SetAutofillOptions; - methodToExecute.Invoke(); - } - - /// - /// - /// - /// - public virtual void SetAutofillOptions(params Java.Lang.CharSequence[] arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnUnregisterDataSetObserver { get; set; } = null; - - void UnregisterDataSetObserverEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnUnregisterDataSetObserver != null) ? OnUnregisterDataSetObserver : UnregisterDataSetObserver; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void UnregisterDataSetObserver(Android.Database.DataSetObserver arg0) - { - - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region ArrayAdapterDirect - public partial class ArrayAdapterDirect - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - public Android.Content.Context Context - { - get { return IExecuteWithSignature("getContext", "()Landroid/content/Context;"); } - } - /// - /// - /// - public Android.Content.Res.Resources.Theme DropDownViewTheme - { - get { return IExecuteWithSignature("getDropDownViewTheme", "()Landroid/content/res/Resources$Theme;"); } set { IExecuteWithSignature("setDropDownViewTheme", "(Landroid/content/res/Resources$Theme;)V", value); } - } - /// - /// - /// - public Android.Widget.Filter Filter - { - get { return IExecuteWithSignature("getFilter", "()Landroid/widget/Filter;"); } - } - /// - /// - /// - public int ViewTypeCount - { - get { return IExecute("getViewTypeCount"); } - } - /// - /// - /// - /// - public override bool AreAllItemsEnabled() - { - return IExecute("areAllItemsEnabled"); - } - /// - /// - /// - /// - public override bool HasStableIds() - { - return IExecute("hasStableIds"); - } - /// - /// - /// - /// - public override bool IsEmpty() - { - return IExecute("isEmpty"); - } - /// - /// - /// - /// - /// - public override bool IsEnabled(int arg0) - { - return IExecute("isEnabled", arg0); - } - /// - /// - /// - /// - /// - public override int GetPosition(object arg0) - { - return IExecuteWithSignature("getPosition", "(Ljava/lang/Object;)I", arg0); - } - /// - /// - /// - /// - /// - public override int GetItemViewType(int arg0) - { - return IExecute("getItemViewType", arg0); - } - /// - /// - /// - /// - public override void Add(object arg0) - { - IExecuteWithSignature("add", "(Ljava/lang/Object;)V", arg0); - } - /// - /// - /// - /// - public override void AddAll(Java.Util.Collection arg0) - { - IExecuteWithSignature("addAll", "(Ljava/util/Collection;)V", arg0); - } - /// - /// - /// - /// - public override void AddAll(params object[] arg0) - { - if (arg0.Length == 0) IExecuteWithSignature("addAll", "([Ljava/lang/Object;)V"); else IExecuteWithSignature("addAll", "([Ljava/lang/Object;)V", arg0); - } - /// - /// - /// - public override void Clear() - { - IExecuteWithSignature("clear", "()V"); - } - /// - /// - /// - /// - /// - public override void Insert(object arg0, int arg1) - { - IExecute("insert", arg0, arg1); - } - /// - /// - /// - /// - public override void Remove(object arg0) - { - IExecuteWithSignature("remove", "(Ljava/lang/Object;)V", arg0); - } - /// - /// - /// - /// - public override void SetDropDownViewResource(int arg0) - { - IExecuteWithSignature("setDropDownViewResource", "(I)V", arg0); - } - /// - /// - /// - /// - public override void SetNotifyOnChange(bool arg0) - { - IExecuteWithSignature("setNotifyOnChange", "(Z)V", arg0); - } - /// - /// - /// - public override void NotifyDataSetInvalidated() - { - IExecute("notifyDataSetInvalidated"); - } - /// - /// - /// - /// - public override void RegisterDataSetObserver(Android.Database.DataSetObserver arg0) - { - IExecute("registerDataSetObserver", arg0); - } - /// - /// - /// - /// - public override void SetAutofillOptions(params Java.Lang.CharSequence[] arg0) - { - if (arg0.Length == 0) IExecute("setAutofillOptions"); else IExecute("setAutofillOptions", arg0); - } - /// - /// - /// - /// - public override void UnregisterDataSetObserver(Android.Database.DataSetObserver arg0) - { - IExecute("unregisterDataSetObserver", arg0); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region ArrayAdapter - public partial class ArrayAdapter : Android.Widget.IFilterable, Android.Widget.IThemedSpinnerAdapter - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func> OnCreateFromResource { get; set; } = null; - - void CreateFromResourceEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnCreateFromResource != null) ? OnCreateFromResource : CreateFromResource; - var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0), data.EventData.GetAt(1)); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - /// - /// - /// - public virtual Android.Widget.ArrayAdapter CreateFromResource(Android.Content.Context arg0, int arg1, int arg2) - { - return default; - } - - #endregion - - #region Instance methods - /// - /// Handlers initializer for - /// - protected virtual void InitializeHandlers() - { - AddEventHandler("getContext", new System.EventHandler>(GetContextEventHandler)); - AddEventHandler("getDropDownViewTheme", new System.EventHandler>(GetDropDownViewThemeEventHandler)); - AddEventHandler("getFilter", new System.EventHandler>(GetFilterEventHandler)); - AddEventHandler("areAllItemsEnabled", new System.EventHandler>(AreAllItemsEnabledEventHandler)); - AddEventHandler("hasStableIds", new System.EventHandler>(HasStableIdsEventHandler)); - AddEventHandler("isEmpty", new System.EventHandler>(IsEmptyEventHandler)); - AddEventHandler("isEnabled", new System.EventHandler>>(IsEnabledEventHandler)); - AddEventHandler("getPosition", new System.EventHandler>>(GetPositionEventHandler)); - AddEventHandler("getItemViewType", new System.EventHandler>>(GetItemViewTypeEventHandler)); - AddEventHandler("getViewTypeCount", new System.EventHandler>(GetViewTypeCountEventHandler)); - AddEventHandler("add", new System.EventHandler>>(AddEventHandler)); - AddEventHandler("addAll", new System.EventHandler>>>(AddAllEventHandler)); - AddEventHandler("addAll1", new System.EventHandler>>(AddAll1EventHandler)); - AddEventHandler("clear", new System.EventHandler>(ClearEventHandler)); - AddEventHandler("insert", new System.EventHandler>>(InsertEventHandler)); - AddEventHandler("remove", new System.EventHandler>>(RemoveEventHandler)); - AddEventHandler("setDropDownViewResource", new System.EventHandler>>(SetDropDownViewResourceEventHandler)); - AddEventHandler("setDropDownViewTheme", new System.EventHandler>>(SetDropDownViewThemeEventHandler)); - AddEventHandler("setNotifyOnChange", new System.EventHandler>>(SetNotifyOnChangeEventHandler)); - AddEventHandler("notifyDataSetInvalidated", new System.EventHandler>(NotifyDataSetInvalidatedEventHandler)); - AddEventHandler("registerDataSetObserver", new System.EventHandler>>(RegisterDataSetObserverEventHandler)); - AddEventHandler("setAutofillOptions", new System.EventHandler>>(SetAutofillOptionsEventHandler)); - AddEventHandler("unregisterDataSetObserver", new System.EventHandler>>(UnregisterDataSetObserverEventHandler)); - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetContext { get; set; } = null; - - void GetContextEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnGetContext != null) ? OnGetContext : GetContext; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual Android.Content.Context GetContext() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetDropDownViewTheme { get; set; } = null; - - void GetDropDownViewThemeEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnGetDropDownViewTheme != null) ? OnGetDropDownViewTheme : GetDropDownViewTheme; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual Android.Content.Res.Resources.Theme GetDropDownViewTheme() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetFilter { get; set; } = null; - - void GetFilterEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnGetFilter != null) ? OnGetFilter : GetFilter; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual Android.Widget.Filter GetFilter() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnAreAllItemsEnabled { get; set; } = null; - - void AreAllItemsEnabledEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnAreAllItemsEnabled != null) ? OnAreAllItemsEnabled : AreAllItemsEnabled; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual bool AreAllItemsEnabled() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnHasStableIds { get; set; } = null; - - void HasStableIdsEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnHasStableIds != null) ? OnHasStableIds : HasStableIds; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual bool HasStableIds() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnIsEmpty { get; set; } = null; - - void IsEmptyEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnIsEmpty != null) ? OnIsEmpty : IsEmpty; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual bool IsEmpty() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnIsEnabled { get; set; } = null; - - void IsEnabledEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnIsEnabled != null) ? OnIsEnabled : IsEnabled; - var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - /// - public virtual bool IsEnabled(int arg0) - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetPosition { get; set; } = null; - - void GetPositionEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnGetPosition != null) ? OnGetPosition : GetPosition; - var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - /// - public virtual int GetPosition(T arg0) - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetItemViewType { get; set; } = null; - - void GetItemViewTypeEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnGetItemViewType != null) ? OnGetItemViewType : GetItemViewType; - var executionResult = methodToExecute.Invoke(data.EventData.TypedEventData); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - /// - public virtual int GetItemViewType(int arg0) - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Func OnGetViewTypeCount { get; set; } = null; - - void GetViewTypeCountEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnGetViewTypeCount != null) ? OnGetViewTypeCount : GetViewTypeCount; - var executionResult = methodToExecute.Invoke(); - data.SetReturnValue(executionResult); - } - - /// - /// - /// - /// - public virtual int GetViewTypeCount() - { - return default; - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnAdd { get; set; } = null; - - void AddEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnAdd != null) ? OnAdd : Add; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void Add(T arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action> OnAddAll { get; set; } = null; - - void AddAllEventHandler(object sender, CLRListenerEventArgs>> data) - { - var methodToExecute = (OnAddAll != null) ? OnAddAll : AddAll; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - /// - public virtual void AddAll(Java.Util.Collection arg0) where Arg0ExtendsT: T - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action<> OnAddAll1 { get; set; } = null; - - void AddAll1EventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnAddAll1 != null) ? OnAddAll1 : AddAll; - methodToExecute.Invoke(); - } - - /// - /// - /// - /// - public virtual void AddAll(params T[] arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnClear { get; set; } = null; - - void ClearEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnClear != null) ? OnClear : Clear; - methodToExecute.Invoke(); - } - - /// - /// - /// - public virtual void Clear() - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnInsert { get; set; } = null; - - void InsertEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnInsert != null) ? OnInsert : Insert; - methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); - } - - /// - /// - /// - /// - /// - public virtual void Insert(T arg0, int arg1) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnRemove { get; set; } = null; - - void RemoveEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnRemove != null) ? OnRemove : Remove; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void Remove(T arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnSetDropDownViewResource { get; set; } = null; - - void SetDropDownViewResourceEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnSetDropDownViewResource != null) ? OnSetDropDownViewResource : SetDropDownViewResource; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void SetDropDownViewResource(int arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnSetDropDownViewTheme { get; set; } = null; - - void SetDropDownViewThemeEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnSetDropDownViewTheme != null) ? OnSetDropDownViewTheme : SetDropDownViewTheme; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void SetDropDownViewTheme(Android.Content.Res.Resources.Theme arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnSetNotifyOnChange { get; set; } = null; - - void SetNotifyOnChangeEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnSetNotifyOnChange != null) ? OnSetNotifyOnChange : SetNotifyOnChange; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void SetNotifyOnChange(bool arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnNotifyDataSetInvalidated { get; set; } = null; - - void NotifyDataSetInvalidatedEventHandler(object sender, CLRListenerEventArgs data) - { - var methodToExecute = (OnNotifyDataSetInvalidated != null) ? OnNotifyDataSetInvalidated : NotifyDataSetInvalidated; - methodToExecute.Invoke(); - } - - /// - /// - /// - public virtual void NotifyDataSetInvalidated() - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnRegisterDataSetObserver { get; set; } = null; - - void RegisterDataSetObserverEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnRegisterDataSetObserver != null) ? OnRegisterDataSetObserver : RegisterDataSetObserver; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void RegisterDataSetObserver(Android.Database.DataSetObserver arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action<> OnSetAutofillOptions { get; set; } = null; - - void SetAutofillOptionsEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnSetAutofillOptions != null) ? OnSetAutofillOptions : SetAutofillOptions; - methodToExecute.Invoke(); - } - - /// - /// - /// - /// - public virtual void SetAutofillOptions(params Java.Lang.CharSequence[] arg0) - { - - } - - /// - /// Handler for - /// - /// If has a value it takes precedence over corresponding class method - public System.Action OnUnregisterDataSetObserver { get; set; } = null; - - void UnregisterDataSetObserverEventHandler(object sender, CLRListenerEventArgs> data) - { - var methodToExecute = (OnUnregisterDataSetObserver != null) ? OnUnregisterDataSetObserver : UnregisterDataSetObserver; - methodToExecute.Invoke(data.EventData.TypedEventData); - } - - /// - /// - /// - /// - public virtual void UnregisterDataSetObserver(Android.Database.DataSetObserver arg0) - { - - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region ArrayAdapterDirect - public partial class ArrayAdapterDirect : Android.Widget.IFilterable, Android.Widget.IThemedSpinnerAdapter - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - public Android.Content.Context Context - { - get { return IExecuteWithSignature("getContext", "()Landroid/content/Context;"); } - } - /// - /// - /// - public Android.Content.Res.Resources.Theme DropDownViewTheme - { - get { return IExecuteWithSignature("getDropDownViewTheme", "()Landroid/content/res/Resources$Theme;"); } set { IExecuteWithSignature("setDropDownViewTheme", "(Landroid/content/res/Resources$Theme;)V", value); } - } - /// - /// - /// - public Android.Widget.Filter Filter - { - get { return IExecuteWithSignature("getFilter", "()Landroid/widget/Filter;"); } - } - /// - /// - /// - public int ViewTypeCount - { - get { return IExecute("getViewTypeCount"); } - } - /// - /// - /// - /// - public override bool AreAllItemsEnabled() - { - return IExecute("areAllItemsEnabled"); - } - /// - /// - /// - /// - public override bool HasStableIds() - { - return IExecute("hasStableIds"); - } - /// - /// - /// - /// - public override bool IsEmpty() - { - return IExecute("isEmpty"); - } - /// - /// - /// - /// - /// - public override bool IsEnabled(int arg0) - { - return IExecute("isEnabled", arg0); - } - /// - /// - /// - /// - /// - public override int GetPosition(T arg0) - { - return IExecuteWithSignature("getPosition", "(Ljava/lang/Object;)I", arg0); - } - /// - /// - /// - /// - /// - public override int GetItemViewType(int arg0) - { - return IExecute("getItemViewType", arg0); - } - /// - /// - /// - /// - public override void Add(T arg0) - { - IExecuteWithSignature("add", "(Ljava/lang/Object;)V", arg0); - } - /// - /// - /// - /// - /// - public override void AddAll(Java.Util.Collection arg0) where Arg0ExtendsT: T - { - IExecuteWithSignature("addAll", "(Ljava/util/Collection;)V", arg0); - } - /// - /// - /// - /// - public override void AddAll(params T[] arg0) - { - if (arg0.Length == 0) IExecuteWithSignature("addAll", "([Ljava/lang/Object;)V"); else IExecuteWithSignature("addAll", "([Ljava/lang/Object;)V", arg0); - } - /// - /// - /// - public override void Clear() - { - IExecuteWithSignature("clear", "()V"); - } - /// - /// - /// - /// - /// - public override void Insert(T arg0, int arg1) - { - IExecute("insert", arg0, arg1); - } - /// - /// - /// - /// - public override void Remove(T arg0) - { - IExecuteWithSignature("remove", "(Ljava/lang/Object;)V", arg0); - } - /// - /// - /// - /// - public override void SetDropDownViewResource(int arg0) - { - IExecuteWithSignature("setDropDownViewResource", "(I)V", arg0); - } - /// - /// - /// - /// - public override void SetNotifyOnChange(bool arg0) - { - IExecuteWithSignature("setNotifyOnChange", "(Z)V", arg0); - } - /// - /// - /// - public override void NotifyDataSetInvalidated() - { - IExecute("notifyDataSetInvalidated"); - } - /// - /// - /// - /// - public override void RegisterDataSetObserver(Android.Database.DataSetObserver arg0) - { - IExecute("registerDataSetObserver", arg0); - } - /// - /// - /// - /// - public override void SetAutofillOptions(params Java.Lang.CharSequence[] arg0) - { - if (arg0.Length == 0) IExecute("setAutofillOptions"); else IExecute("setAutofillOptions", arg0); - } - /// - /// - /// - /// - public override void UnregisterDataSetObserver(Android.Database.DataSetObserver arg0) - { - IExecute("unregisterDataSetObserver", arg0); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion -} \ No newline at end of file