Class RecycleAdapter

    Definition

    Namespace:
    Tizen.NUI.Wearable
    Assembly:
    Tizen.NUI.Wearable.dll

    [Draft] Defalt adapter for RecyclerView. Managing RecycleItem and Data for RecyclerView.

    public class RecycleAdapter
    Inheritance
    object
    RecycleAdapter

    Properties

    View Source

    Data

    Triggered when user called Notify().

    Declaration
    public List<object> Data { get; set; }
    Property Value
    Type Description
    List<><object>

    Methods

    View Source

    BindData(RecycleItem)

    Bind data with recycler item. This function is called when RecyclerItem is used again with new data. Can update content of recycle item with new data at DataIndex of item.

    Declaration
    public virtual void BindData(RecycleItem item)
    Parameters
    Type Name Description
    RecycleItem item

    Reused RecycleItem which needs data binding.

    View Source

    CreateRecycleItem()

    Create recycle item for RecyclerView. RecyclerView will make its children using this api.

    Declaration
    public virtual RecycleItem CreateRecycleItem()
    Returns
    Type Description
    RecycleItem

    Item for RecyclerView

    View Source

    Notify()

    Notify when data of adapter is changed.

    Declaration
    public void Notify()

    Events

    View Source

    OnDataChanged

    Triggered when user called Notify().

    Declaration
    public event EventHandler<EventArgs> OnDataChanged
    Event Type
    Type Description
    EventHandler<><EventArgs>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX