Class GridLayouter
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
Layouter for CollectionView to display items in grid layout.
public class GridLayouter : 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
NotifyItemSizeChanged(RecyclerViewItem)
Declaration
public override void NotifyItemSizeChanged(RecyclerViewItem item)
Parameters
Type | Name | Description |
---|---|---|
RecyclerViewItem | item |
Overrides
Tizen.NUI.Components.ItemsLayouter.NotifyItemSizeChanged(Tizen.NUI.Components.RecyclerViewItem)
View Source
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