ShinobiControls Xamarin Bindings Documentation

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

RowRangeChangedNotifier Class

Convenience class to assist with notifying a given ShinobiControls.Android.Grids.Core.GridRecyclerView (which implements ShinobiControls.Android.Grids.Core.IHasGridBehavior) of a change in a range of rows.

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/supplement/RowRangeChangedNotifier", DoNotGenerateAcw=true)]
public class RowRangeChangedNotifier : Java.Lang.Object, RowReorderDetector.IOnRowReorderListener, IDisposable

Remarks

Convenience class to assist with notifying a given ShinobiControls.Android.Grids.Core.GridRecyclerView (which implements ShinobiControls.Android.Grids.Core.IHasGridBehavior) of a change in a range of rows.

The RowRangeChangedNotifier.notifyAfterRowReorder(int, %20int, %20com.shinobicontrols.grids.core.HasGridBehavior) method just needs to be told which row index has been moved and what row index it ended up in. It will do the necessary calculations and will call the ShinobiControls.Android.Grids.Core.IHasGridBehavior.notifyRowRangeChanged(int, %20int) method on the ShinobiControls.Android.Grids.Core.IHasGridBehavior for you.

Additionally the ShinobiControls.Android.Grids.Supplement.RowRangeChangedNotifier implements the ShinobiControls.Android.Grids.Supplement.RowReorderDetector.IOnRowReorderListener interface, calling the RowRangeChangedNotifier.notifyAfterRowReorder(int, %20int, %20com.shinobicontrols.grids.core.HasGridBehavior) when a row reorder event has ended. This means it can be added to a ShinobiControls.Android.Grids.Supplement.VisualRowReorderer or a ShinobiControls.Android.Grids.Supplement.RowReorderDetector to automatically notify the ShinobiControls.Android.Grids.Core.IHasGridBehavior when a row reorder event has occurred.

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

RowRangeChangedNotifier Constructor

Documentation for this section has not yet been entered.

Syntax

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

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

RowRangeChangedNotifier Constructor

Documentation for this section has not yet been entered.

Syntax

protected RowRangeChangedNotifier (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

NotifyAfterRowReorder Method

Syntax

[Android.Runtime.Register("notifyAfterRowReorder", "(IILcom/shinobicontrols/grids/core/HasGridBehavior;)V", "GetNotifyAfterRowReorder_IILcom_shinobicontrols_grids_core_HasGridBehavior_Handler")]
public virtual void NotifyAfterRowReorder (int p0, int p1, ShinobiControls.Android.Grids.Core.IHasGridBehavior 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

Notifies the given ShinobiControls.Android.Grids.Core.IHasGridBehavior

of a change in a range of rows based on the starting and ending row index of a row that has been reordered.

Requirements

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

OnRowIndexChanged Method

Syntax

[Android.Runtime.Register("onRowIndexChanged", "(IIILcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnRowIndexChanged_IIILcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnRowIndexChanged (int p0, int p1, int p2, ShinobiControls.Android.Grids.Core.GridRecyclerView p3)

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.
p3
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

OnRowReorderCancelled Method

Syntax

[Android.Runtime.Register("onRowReorderCancelled", "(ILcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnRowReorderCancelled_ILcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnRowReorderCancelled (int p0, ShinobiControls.Android.Grids.Core.GridRecyclerView p1)

Parameters

p0
Documentation for this section has not yet been entered.
p1
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

OnRowReorderEnded Method

Syntax

[Android.Runtime.Register("onRowReorderEnded", "(IILcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnRowReorderEnded_IILcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnRowReorderEnded (int p0, int p1, ShinobiControls.Android.Grids.Core.GridRecyclerView 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

OnRowReorderStarted Method

Syntax

[Android.Runtime.Register("onRowReorderStarted", "(ILcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnRowReorderStarted_ILcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnRowReorderStarted (int p0, ShinobiControls.Android.Grids.Core.GridRecyclerView p1)

Parameters

p0
Documentation for this section has not yet been entered.
p1
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