Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
Base interface for encapsulated data source in RecyclerView.
public interface IItemSource : IDisposable
Properties
Declaration
Property Value
Declaration
bool HasFooter { get; set; }
Property Value
Declaration
bool HasHeader { get; set; }
Property Value
Methods
Declaration
object GetItem(int position)
Parameters
Type |
Name |
Description |
Int32 |
position |
|
Returns
View Source
GetPosition(Object)
Position integer value of data object.
Declaration
int GetPosition(object item)
Parameters
Type |
Name |
Description |
Object |
item |
|
Returns
View Source
Boolean checker for position is footer or not.
last index will be footer if footer exist.
warning: footer will be place original data count or data count + 1.
Declaration
bool IsFooter(int position)
Parameters
Type |
Name |
Description |
Int32 |
position |
The position for checking footer.
|
Returns
View Source
Boolean checker for position is header or not.
0 index will be header if header exist.
warning: if header exist, all item index will be increased.
Declaration
bool IsHeader(int position)
Parameters
Type |
Name |
Description |
Int32 |
position |
The position for checking header.
|
Returns
Extension Methods