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

    Count of data source.

    Declaration
    int Count { get; }
    Property Value
    Type Description
    int
    View Source

    HasFooter

    Flag of Footer existence.

    Declaration
    bool HasFooter { get; set; }
    Property Value
    Type Description
    bool
    View Source

    HasHeader

    Flag of header existence.

    Declaration
    bool HasHeader { get; set; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    GetItem(int)

    Item object in position.

    Declaration
    object GetItem(int position)
    Parameters
    Type Name Description
    int position
    Returns
    Type Description
    object
    View Source

    GetPosition(object)

    Position integer value of data object.

    Declaration
    int GetPosition(object item)
    Parameters
    Type Name Description
    object item
    Returns
    Type Description
    int
    View Source

    IsFooter(int)

    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
    Type Description
    bool
    View Source

    IsHeader(int)

    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
    Type Description
    bool
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX