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