ShinobiControls Xamarin Bindings Documentation

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

IPropertyBinder Interface

Type Parameters:

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/supplement/PropertyBinder", "", "ShinobiControls.Android.Grids.Supplement.IPropertyBinderInvoker")]
public interface IPropertyBinder : Android.Runtime.IJavaObject, IDisposable

Remarks

Type Parameters:

A PropertyBinder defines how a rowIndex relates to a piece of data. In most cases that data will come from a property of some model object, with the particular object being identified by the rowIndex.

The PropertyBinder is parameterized by the type of the data it provides. This does not necessarily match the type of the data in the model object. For example, you may require the value of some enum in the model object to be mapped to a resource id for a corresponding image, thus the PropertyBinder would be paramterized by .

Requirements

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

Members

Public Methods

Member Details

Bind Method

Syntax

[Android.Runtime.Register("bind", "(I)Ljava/lang/Object;", "GetBind_IHandler:ShinobiControls.Android.Grids.Supplement.IPropertyBinderInvoker, ShinobiControls.Android.Grids")]
public Java.Lang.Object Bind (int rowIndex)

Parameters

rowIndex
- the row index for the item being queried

Returns

some data, of type T, based on the given rowIndex

Remarks

Provides some data, of type T

, based on the given rowIndex

.

Requirements

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