ShinobiControls Xamarin Bindings Documentation

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

VisualColumnReorderer Class

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

Syntax

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

Remarks

Visualizes the reordering of columns within the ShinobiControls.Android.Grids.Core.ShinobiGridView. Specifically, the items in the column being reordered appear to be pulled out from the grid and move left or right 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 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 visual feedback during column reordering.

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

This ShinobiControls.Android.Grids.Supplement.VisualColumnReorderer will only move the columns visually and will not update the ShinobiControls.Android.Grids.Core.ShinobiGridView's list of ShinobiControls.Android.Grids.Core.Column objects. This should be performed by a separate ShinobiControls.Android.Grids.Supplement.ColumnReorderDetector.IOnColumnReorderListener such as the ShinobiControls.Android.Grids.Supplement.ColumnReorderer and can be added to this ShinobiControls.Android.Grids.Supplement.VisualColumnReorderer via the VisualColumnReorderer.AddOnColumnReorderListener(.IOnColumnReorderListener) method.

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

By adding ShinobiControls.Android.Grids.Supplement.ColumnReorderDetector.IOnColumnReorderListeners to this ShinobiControls.Android.Grids.Supplement.VisualColumnReorderer (instead of to the related ShinobiControls.Android.Grids.Supplement.ColumnReorderDetector) 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

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

VisualColumnReorderer Constructor

Documentation for this section has not yet been entered.

Syntax

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

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

VisualColumnReorderer Constructor

Documentation for this section has not yet been entered.

Syntax

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

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

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

OnColumnIndexChanged Method

Syntax

[Android.Runtime.Register("onColumnIndexChanged", "(IIILcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnColumnIndexChanged_IIILcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnColumnIndexChanged (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

OnColumnReorderCancelled Method

Syntax

[Android.Runtime.Register("onColumnReorderCancelled", "(ILcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnColumnReorderCancelled_ILcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnColumnReorderCancelled (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

OnColumnReorderEnded Method

Syntax

[Android.Runtime.Register("onColumnReorderEnded", "(IILcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnColumnReorderEnded_IILcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnColumnReorderEnded (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

OnColumnReorderStarted Method

Syntax

[Android.Runtime.Register("onColumnReorderStarted", "(ILcom/shinobicontrols/grids/core/GridRecyclerView;)V", "GetOnColumnReorderStarted_ILcom_shinobicontrols_grids_core_GridRecyclerView_Handler")]
public virtual void OnColumnReorderStarted (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

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

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

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