ShinobiControls Xamarin Bindings Documentation

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

ColumnReorderer Class

An implementation of ShinobiControls.Android.Grids.Supplement.ColumnReorderDetector.IOnColumnReorderListener that reorders the list of ShinobiControls.Android.Grids.Core.Column objects held by the ShinobiControls.Android.Grids.Core.ShinobiGridView at the end of a column reordering event, that is when the user lifts up their finger.

Syntax

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

Remarks

An implementation of ShinobiControls.Android.Grids.Supplement.ColumnReorderDetector.IOnColumnReorderListener that reorders the list of ShinobiControls.Android.Grids.Core.Column objects held by the ShinobiControls.Android.Grids.Core.ShinobiGridView at the end of a column reordering event, that is when the user lifts up their finger. This reordering will cause the grid to be visually updated.

With row reordering the ShinobiControls.Android.Grids.Core.ShinobiGridView does not have control over the backing data store and therefore cannot know how to update this in response to row reorder events. With column reordering, however, as the ShinobiControls.Android.Grids.Core.ShinobiGridView maintains a list of its ShinobiControls.Android.Grids.Core.Column objects it is able to update this in response to column reorder events.

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

Member Details

ColumnReorderer Constructor

Documentation for this section has not yet been entered.

Syntax

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

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

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