Class ItemsLayouter

    Definition

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

    Default layout manager for RecyclerView. Layouting RecyclerViewItem on the scroll ContentContainer which need to be visible on the view by scroll position.

    public abstract class ItemsLayouter : IDisposable
    Inheritance
    object
    ItemsLayouter
    Derived
    GridLayouter
    GridLayouter
    GridLayouter
    GridLayouter
    LinearLayouter
    LinearLayouter
    LinearLayouter
    LinearLayouter
    Implements
    System.IDisposable

    Methods

    View Source

    Clear()

    Clear the current screen and all properties.

    Declaration
    public virtual void Clear()
    View Source

    Dispose()

    Dispose ItemsLayouter and all children on it.

    Declaration
    public void Dispose()
    View Source

    Initialize(RecyclerView)

    Clean up ItemsLayouter.

    Declaration
    public virtual void Initialize(RecyclerView view)
    Parameters
    Type Name Description
    RecyclerView view

    ItemsView of layouter.

    View Source

    RequestLayout(float, bool)

    This is called to find out where items are lain out according to current scroll position.

    Declaration
    public virtual void RequestLayout(float scrollPosition, bool force = false)
    Parameters
    Type Name Description
    float scrollPosition

    Scroll position which is calculated by ScrollableBase

    bool force

    boolean force flag to layouting forcely.

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX