Interface IItemSource
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
Base interface for encapsulated data source in RecyclerView.
public interface IItemSource : IDisposable
Properties
View Source
Count
Declaration
Property Value
View Source
Flag of Footer existence.
Declaration
bool HasFooter { get; set; }
Property Value
View Source
Flag of header existence.
Declaration
bool HasHeader { get; set; }
Property Value
Methods
View Source
GetItem(int)
Declaration
object GetItem(int position)
Parameters
Type |
Name |
Description |
int |
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 |
int |
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 |
int |
position |
The position for checking header.
|
Returns