Class LinearLayouter
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
layouter for CollectionView to display items in linear layout.
public class LinearLayouter : ItemsLayouter, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Methods
View SourceInitialize(RecyclerView)
Clean up ItemsLayouter.
Declaration
public override void Initialize(RecyclerView view)
Parameters
Type | Name | Description |
---|---|---|
RecyclerView | view | CollectionView of layouter. |
Overrides
Remarks
please note that, view must be type of CollectionView
RequestLayout(float, bool)
This is called to find out where items are lain out according to current scroll position.
Declaration
public override 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. |
Overrides
Implements
System.IDisposable