ShinobiControls Xamarin Bindings Documentation

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

ItemPositionUpdater Class

Convenience class to provide an updated series of item positions, following a row or column reorder.

Syntax

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

Remarks

Convenience class to provide an updated series of item positions, following a row or column reorder. In most cases the item positions which are updated will be those of items that have been selected or hidden. The ShinobiControls.Android.Grids.Supplement.ItemStateManager, for example, makes use of this class to ensure consistency of hidden items after a row or column reorder event.

Note: This class does not update any item positions on the ShinobiControls.Android.Grids.Core.ShinobiGridView. It provides an updated series of item positions, which can then be used to perform update operations on the ShinobiControls.Android.Grids.Core.ShinobiGridView.

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

Member Details

ItemPositionUpdater Constructor

Documentation for this section has not yet been entered.

Syntax

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

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

ItemPositionUpdater Constructor

Documentation for this section has not yet been entered.

Syntax

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

GetUpdatedPositionsAfterColumnReorder Method

Syntax

[Android.Runtime.Register("getUpdatedPositionsAfterColumnReorder", "(IILcom/shinobicontrols/grids/core/GridRecyclerView;[I)[I", "GetGetUpdatedPositionsAfterColumnReorder_IILcom_shinobicontrols_grids_core_GridRecyclerView_arrayIHandler")]
public virtual int[] GetUpdatedPositionsAfterColumnReorder (int p0, int p1, ShinobiControls.Android.Grids.Core.GridRecyclerView p2, int[] 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.

Returns

a new array containing the updated positions of the items, taking into account the column reorder

Remarks

Returns the updated positions of items on the ShinobiControls.Android.Grids.Core.ShinobiGridView

following a column reorder. In most cases the item positions which are updated will be those of items that have been selected or hidden.

Typically this method will be useful when updating the positions of selected or hidden items, following a column reorder.

Note: This method does not update any item positions on the ShinobiControls.Android.Grids.Core.ShinobiGridView

, nor does it check that the given values for columnIndex

and endColumnIndex

exist in the grid beyond checking they are non-negative and not equal. It provides an updated series of item positions, which can then be used to perform update operations on the ShinobiControls.Android.Grids.Core.ShinobiGridView

.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

GetUpdatedPositionsAfterRowReorder Method

Syntax

[Android.Runtime.Register("getUpdatedPositionsAfterRowReorder", "(IILcom/shinobicontrols/grids/core/GridRecyclerView;[I)[I", "GetGetUpdatedPositionsAfterRowReorder_IILcom_shinobicontrols_grids_core_GridRecyclerView_arrayIHandler")]
public virtual int[] GetUpdatedPositionsAfterRowReorder (int p0, int p1, ShinobiControls.Android.Grids.Core.GridRecyclerView p2, int[] 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.

Returns

a new array containing the updated positions of the items, taking into account the row reorder

Remarks

Returns the updated positions of items on the ShinobiControls.Android.Grids.Core.ShinobiGridView

following a row reorder. In most cases the item positions which are updated will be those of items that have been selected or hidden.

Typically this method will be useful when updating the positions of selected or hidden items, following a row reorder.

Note: This method does not update any item positions on the ShinobiControls.Android.Grids.Core.ShinobiGridView

, nor does it check that the given values for rowIndex

and endRowIndex

exist in the grid beyond checking they are non-negative and not equal. It provides an updated series of item positions, which can then be used to perform update operations on the ShinobiControls.Android.Grids.Core.ShinobiGridView

.

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