Class LinearLayouter

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
9

layouter for CollectionView to display items in linear layout.

C#
Copy
public class LinearLayouter : ItemsLayouter, ICollectionChangedNotifier, IDisposable
Inheritance
System.Object
LinearLayouter
Implements
System.IDisposable

Methods

View Source

Initialize(RecyclerView)

Clean up ItemsLayouter.

Declaration
C#
Copy
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

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#
Copy
public 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