ShinobiControls Xamarin Bindings Documentation

ShinobiControls.Android.Grids : ShinobiControls.Android.Grids.Core Namespace

IAdapterSpec Interface

Defines some general properties of the ShinobiControls.Android.Grids.Core.ShinobiGridView such as the number of rows the grid will contain.

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/core/AdapterSpec", "", "ShinobiControls.Android.Grids.Core.IAdapterSpecInvoker")]
public interface IAdapterSpec : Android.Runtime.IJavaObject, IDisposable

Remarks

Defines some general properties of the ShinobiControls.Android.Grids.Core.ShinobiGridView such as the number of rows the grid will contain. An implementation of this interface should be given to the ShinobiGridView before the grid is rendered by using the ShinobiGridView.SetAdapterSpec(IAdapterSpec) method otherwise no data will be displayed.

For example, if your data objects are held in a List, you will likely want to do the following:

Requirements

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

Members

Public Properties

[read-only]
RowCount int .

Member Details

RowCount Property

Syntax

[get: Android.Runtime.Register("getRowCount", "()I", "GetGetRowCountHandler:ShinobiControls.Android.Grids.Core.IAdapterSpecInvoker, ShinobiControls.Android.Grids")]
public int RowCount { get; }

Value

the number of rows the ShinobiGridView will contain

Remarks

Returns the number of rows the ShinobiGridView will contain. This value should not include the row containing the Column headers.

Requirements

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