Search Results for

    Show / Hide Table of Contents

    Class RecyclerView

    Definition

    Namespace:
    Tizen.NUI.Components
    Assembly:
    Tizen.NUI.Components.dll

    A View that serves as a base class for views that contain a templated list of items.

    public abstract class RecyclerView : ScrollableBase, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Control
    ScrollableBase
    RecyclerView
    Derived
    CollectionView
    CollectionView
    CollectionView
    CollectionView
    CollectionView
    CollectionView
    CollectionView
    Implements
    INotifyPropertyChanged
    IDisposable

    Constructors

    View Source

    RecyclerView()

    Base Constructor

    Declaration
    public RecyclerView()

    Properties

    View Source

    ItemTemplate

    DataTemplate for items.

    Declaration
    public virtual DataTemplate ItemTemplate { get; set; }
    Property Value
    Type Description
    DataTemplate
    View Source

    ItemsSource

    Item's source data.

    Declaration
    public virtual IEnumerable ItemsSource { get; set; }
    Property Value
    Type Description
    IEnumerable

    Methods

    View Source

    OnRelayout(Vector2, RelayoutContainer)

    Called after the size negotiation has been finished for this control.
    The control is expected to assign this given size to itself or its children.
    Should be overridden by derived classes if they need to layout views differently after certain operations like add or remove views, resize, or after changing specific properties.
    As this function is called from inside the size negotiation algorithm, you cannot call RequestRelayout (the call would just be ignored).

    Declaration
    public override void OnRelayout(Vector2 size, RelayoutContainer container)
    Parameters
    Type Name Description
    Vector2 size

    The allocated size.

    RelayoutContainer container

    The control should add views to this container that it is not able to allocate a size for.

    Overrides
    Control.OnRelayout(Vector2, RelayoutContainer)
    View Source

    OnScrolling(object, ScrollEventArgs)

    On scroll event callback.

    Declaration
    protected virtual void OnScrolling(object source, ScrollEventArgs args)
    Parameters
    Type Name Description
    object source
    ScrollEventArgs args

    Implements

    INotifyPropertyChanged
    IDisposable
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX