ShinobiControls Xamarin Bindings Documentation

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

VisualRowReorderer Class

Visualizes the reordering of rows within the ShinobiControls.Android.Grids.Core.ShinobiGridView.

Syntax

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

Remarks

Visualizes the reordering of rows within the ShinobiControls.Android.Grids.Core.ShinobiGridView. Specifically, the items in the row being reordered appear to be pulled out from the grid and move up and down in-sync with the user's finger until the gesture ends with the user lifting their finger.

This class is one of many that are used by the ShinobiControls.Android.Grids.Supplement.RowColumnReorderManager to enable row reordering on the ShinobiControls.Android.Grids.Core.ShinobiGridView. In general, the ShinobiControls.Android.Grids.Supplement.RowColumnReorderManager provides a more convenient way of achieving this. However, for more specialized situations this class can be leveraged in conjunction with other classes to provide the same visual feedback during row reordering.

In order to provide this visual feedback, the ShinobiControls.Android.Grids.Supplement.VisualRowReorderer must be added as a listener to both an ShinobiControls.Android.Grids.Supplement.ItemDragDetector and a ShinobiControls.Android.Grids.Supplement.RowReorderDetector.

This ShinobiControls.Android.Grids.Supplement.VisualRowReorderer will not perform any reordering actions on the grid's backing data; the responsibility for this is left up to the user and any such reordering operations should be done through a separate ShinobiControls.Android.Grids.Supplement.RowReorderDetector.IOnRowReorderListener added to this ShinobiControls.Android.Grids.Supplement.VisualRowReorderer via the VisualRowReorderer.AddOnRowReorderListener(.IOnRowReorderListener) method.

By default the positions of selected and hidden items in the ShinobiControls.Android.Grids.Core.ShinobiGridView will not be updated to reflect the row reorder event. If you want to preserve selected and hidden item positions you can also add an ShinobiControls.Android.Grids.Supplement.ItemStateManager via the VisualRowReorderer.AddOnRowReorderListener(.IOnRowReorderListener) method.

By adding ShinobiControls.Android.Grids.Supplement.RowReorderDetector.IOnRowReorderListeners to this ShinobiControls.Android.Grids.Supplement.VisualRowReorderer (instead of to the related ShinobiControls.Android.Grids.Supplement.RowReorderDetector) it will ensure that their callback methods are called at an appropriate time with respect to the visual feedback provided by this class.

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

Public Events

RowIndexChanged Documentation for this section has not yet been entered.
RowReorderCancelled Documentation for this section has not yet been entered.
RowReorderEnded Documentation for this section has not yet been entered.
RowReorderStarted Documentation for this section has not yet been entered.

Member Details

VisualRowReorderer Constructor

Documentation for this section has not yet been entered.

Syntax

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

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

VisualRowReorderer Constructor

Documentation for this section has not yet been entered.

Syntax

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

AddOnRowReorderListener Method

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register("addOnRowReorderListener", "(Lcom/shinobicontrols/grids/supplement/RowReorderDetector$OnRowReorderListener;)V", "")]
public void AddOnRowReorderListener (RowReorderDetector.IOnRowReorderListener listener)

Parameters

listener
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

OnItemDrag Method

Syntax

[Android.Runtime.Register("onItemDrag", "(Lcom/shinobicontrols/grids/supplement/ItemDragDetector;FFLcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnItemDrag_Lcom_shinobicontrols_grids_supplement_ItemDragDetector_FFLcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnItemDrag (ItemDragDetector p0, float p1, float 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

OnItemReleaseDrag Method

Syntax

[Android.Runtime.Register("onItemReleaseDrag", "(Lcom/shinobicontrols/grids/supplement/ItemDragDetector;FFLcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnItemReleaseDrag_Lcom_shinobicontrols_grids_supplement_ItemDragDetector_FFLcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnItemReleaseDrag (ItemDragDetector p0, float p1, float 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

OnItemStartDrag Method

Syntax

[Android.Runtime.Register("onItemStartDrag", "(Lcom/shinobicontrols/grids/supplement/ItemDragDetector;FFLcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnItemStartDrag_Lcom_shinobicontrols_grids_supplement_ItemDragDetector_FFLcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnItemStartDrag (ItemDragDetector p0, float p1, float 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

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

RemoveOnRowReorderListener Method

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register("removeOnRowReorderListener", "(Lcom/shinobicontrols/grids/supplement/RowReorderDetector$OnRowReorderListener;)V", "")]
public void RemoveOnRowReorderListener (RowReorderDetector.IOnRowReorderListener listener)

Parameters

listener
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

RowIndexChanged Event

Documentation for this section has not yet been entered.

Syntax

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

RowReorderCancelled Event

Documentation for this section has not yet been entered.

Syntax

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

RowReorderEnded Event

Documentation for this section has not yet been entered.

Syntax

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

RowReorderStarted Event

Documentation for this section has not yet been entered.

Syntax

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

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