ShinobiControls Xamarin Bindings Documentation

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

RowReorderDetector Class

An implementation of ShinobiControls.Android.Grids.Supplement.ItemDragDetector.IOnItemDragListener that responds to drag gestures made on items within the grid, interpreting them as row reorder events.

Syntax

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

Remarks

An implementation of ShinobiControls.Android.Grids.Supplement.ItemDragDetector.IOnItemDragListener that responds to drag gestures made on items within the grid, interpreting them as row reorder events. It considers row reordering from a reference point of the initial row the reordering event started on.

It is given an ShinobiControls.Android.Grids.Supplement.RowReorderDetector.IOnRowReorderListener which can be used to hook into specific parts of the reorder event allowing, for example, a backing data store to be reordered in line with the user gesture.

This ShinobiControls.Android.Grids.Supplement.RowReorderDetector will not perform any reordering actions on your data; it simply informs its callback of any changes in the rows' position. Therefore, any such reordering operations should be done by the callback.

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 row reordering behavior.

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

RowReorderDetector Constructor

Documentation for this section has not yet been entered.

Syntax

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

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 onRowReorderListener)

Parameters

onRowReorderListener
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", "")]
public 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", "")]
public 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", "")]
public 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

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 onRowReorderListener)

Parameters

onRowReorderListener
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