ShinobiControls Xamarin Bindings Documentation

ShinobiControls.Android.Grids : ShinobiControls.Android.Grids.Supplement Namespace

SingleSelectionMode Class

Allows for at most one item to be selected in the ShinobiControls.Android.Grids.Core.ShinobiGridView at any one time.

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/supplement/SingleSelectionMode", DoNotGenerateAcw=true)]
public class SingleSelectionMode : Java.Lang.Object, ShinobiControls.Android.Grids.Core.ISelectionMode, IDisposable

Remarks

Allows for at most one item to be selected in the ShinobiControls.Android.Grids.Core.ShinobiGridView at any one time. Selecting an item will automatically deselect any other item that is currently selected.

It is possible to dynamically change the ShinobiControls.Android.Grids.Core.ISelectionMode used by the ShinobiGridView via the ShinobiControls.Android.Grids.Core.ShinobiGridView.ItemSelectionMode. When this occurs the grid makes no attempt to validate the current selection state of its items and as such means it is possible for multiple items to be selected, yet for the selection mode to be SingleSelectionMode.

In this situation, when selecting an item, all previously selected items will be deselected. When deselecting an item, if by doing this more than one item remains selected then all currently selected items will be deselected.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from Java.Lang.Object.

Public Constructors

Documentation for this section has not yet been entered.

Protected Constructors

Documentation for this section has not yet been entered.

Protected Properties

[read-only]
override
ThresholdClass IntPtr . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdType Type . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Member Details

SingleSelectionMode Constructor

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register(".ctor", "()V", "")]
public SingleSelectionMode ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

SingleSelectionMode Constructor

Documentation for this section has not yet been entered.

Syntax

protected SingleSelectionMode (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer)

Parameters

javaReference
Documentation for this section has not yet been entered.
transfer
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

SetSelected Method

Syntax

[Android.Runtime.Register("setSelected", "(IZLcom/shinobicontrols/grids/core/Selector;)V", "GetSetSelected_IZLcom_shinobicontrols_grids_core_Selector_Handler")]
public virtual void SetSelected (int p0, bool p1, ShinobiControls.Android.Grids.Core.Selector p2)

Parameters

p0
Documentation for this section has not yet been entered.
p1
Documentation for this section has not yet been entered.
p2
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ThresholdClass Property

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Syntax

protected override IntPtr ThresholdClass { get; }

Value

A IntPtr which contains the java.lang.Class JNI value corresponding to this type.

Remarks

This property is used to control which jclass is provided to methods like Android.Runtime.JNIEnv.CallNonVirtualVoidMethod.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ThresholdType Property

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Syntax

protected override Type ThresholdType { get; }

Value

A Type which provides the declaring type.

Remarks

This property is used to control virtual vs. non virtual method dispatch against the underlying JNI object. When this property is equal to the declaring type, then virtual method invocation against the JNI object is performed; otherwise, we assume that the method was overridden by a derived type, and perform non-virtual methdo invocation.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0