Class GridLayouter
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 9
Layouter for CollectionView to display items in grid layout.
C#Copypublic class GridLayouter : ItemsLayouter, ICollectionChangedNotifier, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Methods
Declaration
C#Copypublic 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
API Level: 9
Declaration
C#Copypublic override void NotifyItemSizeChanged(RecyclerViewItem item)
Parameters
Type | Name | Description |
---|---|---|
RecyclerViewItem | item |
Overrides
Tizen.NUI.Components.ItemsLayouter.NotifyItemSizeChanged(Tizen.NUI.Components.RecyclerViewItem)
View Source
RequestLayout(Single, Boolean)
This is called to find out where items are lain out according to current scroll position.
Declaration
C#Copypublic override 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. |
Overrides
API Level: 9
Implements
System.IDisposable