ShinobiControls Xamarin Bindings Documentation

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

ColumnReorderDetector Class

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

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/supplement/ColumnReorderDetector", DoNotGenerateAcw=true)]
public sealed class ColumnReorderDetector : 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 column reorder events. It considers column reordering from a reference point of the initial column the reordering event started on.

It is given an ShinobiControls.Android.Grids.Supplement.ColumnReorderDetector.IOnColumnReorderListener which can be used to hook into specific parts of the reorder event allowing, for example, the order of the columns within the ShinobiControls.Android.Grids.Core.ShinobiGridView's list of columns to be updated in line with the user gesture.

This ShinobiControls.Android.Grids.Supplement.ColumnReorderDetector will not perform any reordering actions on your data; it simply informs its callback of any changes in the columns' position. Therefore, any such reordering operations should be done by the callback. The ShinobiControls.Android.Grids.Supplement.ColumnReorderer is such a callback and is provided as a convenience.

This class is one of many that are used by the ShinobiControls.Android.Grids.Supplement.RowColumnReorderManager to enable column 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 column 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

ColumnIndexChanged Documentation for this section has not yet been entered.
ColumnReorderCancelled Documentation for this section has not yet been entered.
ColumnReorderEnded Documentation for this section has not yet been entered.
ColumnReorderStarted Documentation for this section has not yet been entered.

Member Details

ColumnReorderDetector Constructor

Documentation for this section has not yet been entered.

Syntax

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

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

AddOnColumnReorderListener Method

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register("addOnColumnReorderListener", "(Lcom/shinobicontrols/grids/supplement/ColumnReorderDetector$OnColumnReorderListener;)V", "")]
public void AddOnColumnReorderListener (ColumnReorderDetector.IOnColumnReorderListener onColumnReorderListener)

Parameters

onColumnReorderListener
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

ColumnIndexChanged 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

ColumnReorderCancelled 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

ColumnReorderEnded 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

ColumnReorderStarted 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

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

RemoveOnColumnReorderListener Method

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register("removeOnColumnReorderListener", "(Lcom/shinobicontrols/grids/supplement/ColumnReorderDetector$OnColumnReorderListener;)V", "")]
public void RemoveOnColumnReorderListener (ColumnReorderDetector.IOnColumnReorderListener onColumnReorderListener)

Parameters

onColumnReorderListener
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

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