Class RecyclerView

    Definition

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

    [Draft] This class provides a View that can recycle items to improve performance.

    public class RecyclerView : ScrollableBase, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Control
    ScrollableBase
    RecyclerView
    Derived
    WearableList
    WearableList
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    Constructors

    View Source

    RecyclerView()

    Default constructor.

    Declaration
    public RecyclerView()
    View Source

    RecyclerView(RecycleAdapter, RecycleLayoutManager)

    A constructor of RecyclerView.

    Declaration
    public RecyclerView(RecycleAdapter adapter, RecycleLayoutManager layoutManager)
    Parameters
    Type Name Description
    RecycleAdapter adapter

    Recycle adapter of RecyclerView.

    RecycleLayoutManager layoutManager

    Recycle layoutManager of RecyclerView.

    Properties

    View Source

    Adapter

    Recycler adpater.

    Declaration
    public RecycleAdapter Adapter { get; set; }
    Property Value
    Type Description
    RecycleAdapter
    View Source

    LayoutManager

    Recycler layoutManager.

    Declaration
    public RecycleLayoutManager LayoutManager { get; set; }
    Property Value
    Type Description
    RecycleLayoutManager
    View Source

    ScrollingDirection

    Scrolling direction mode for RecyclerView. ScrollingDirection.

    Declaration
    public ScrollableBase.Direction ScrollingDirection { get; set; }
    Property Value
    Type Description
    ScrollableBase.Direction
    View Source

    TotalItemCount

    Gets / Sets total number of items.

    Declaration
    public int TotalItemCount { get; set; }
    Property Value
    Type Description
    int

    Methods

    View Source

    AdjustTargetPositionOfScrollAnimation(float)

    Adjust scrolling position by own scrolling rules. Override this function when developer wants to change destination of flicking.(e.g. always snap to center of item)

    Declaration
    protected override float AdjustTargetPositionOfScrollAnimation(float position)
    Parameters
    Type Name Description
    float position

    Scroll position which is calculated by ScrollableBase

    Returns
    Type Description
    float

    Adjusted scroll destination

    Overrides
    ScrollableBase.AdjustTargetPositionOfScrollAnimation(float)
    View Source

    GetNextFocusableView(View, FocusDirection, bool)

    Gets the next keyboard focusable view in this control towards the given direction.
    A control needs to override this function in order to support two dimensional keyboard navigation.

    Declaration
    public override View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
    Parameters
    Type Name Description
    View currentFocusedView

    The current focused view.

    View.FocusDirection direction

    The direction to move the focus towards.

    bool loopEnabled

    Whether the focus movement should be looped within the control.

    Returns
    Type Description
    View

    The next keyboard focusable view in this control or null if no view can be focused.

    Overrides
    ScrollableBase.GetNextFocusableView(View, View.FocusDirection, bool)

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    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