Class ItemsLayouter
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 9
Default layout manager for RecyclerView. Layouting RecyclerViewItem on the scroll ContentContainer which need to be visible on the view by scroll position.
C#Copypublic abstract class ItemsLayouter : ICollectionChangedNotifier, IDisposable
- Inheritance
-
System.ObjectItemsLayouter
- Derived
- Implements
-
System.IDisposable
Methods
Declaration
C#Copypublic virtual void Clear()
API Level: 9
Declaration
C#Copypublic void Dispose()
API Level: 9
Declaration
C#Copypublic virtual void Initialize(RecyclerView view)
Parameters
Type | Name | Description |
---|---|---|
RecyclerView | view | ItemsView of layouter. |
API Level: 9
View Source
RequestLayout(Single, Boolean)
This is called to find out where items are lain out according to current scroll position.
Declaration
C#Copypublic virtual void RequestLayout(float scrollPosition, bool force = false)
Parameters
Type | Name | Description |
---|---|---|
System.Single | scrollPosition | Scroll position which is calculated by ScrollableBase |
Boolean | force | boolean force flag to layouting forcely. |
API Level: 9
Implements
System.IDisposable