Class LinearRecycleLayoutManager
Definition
- Assembly:
- Tizen.NUI.Wearable.dll
[Draft] This class implements a linear box layout.
public class LinearRecycleLayoutManager : RecycleLayoutManager
- Inheritance
Methods
View SourceCalculateCandidateScrollPosition(float)
Adjust scrolling position by own scrolling rules.
Declaration
public override float CalculateCandidateScrollPosition(float scrollPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| float | scrollPosition | Scroll position which is calculated by ScrollableBase |
Returns
| Type | Description |
|---|---|
| float |
Overrides
View SourceCalculateLayoutOrientationSize()
This is called to find out how much container size can be.
Declaration
public override float CalculateLayoutOrientationSize()
Returns
| Type | Description |
|---|---|
| float |
Overrides
View SourceLayout(float)
This is called to find out where items are lain out according to current scroll position.
Declaration
public override void Layout(float scrollPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| float | scrollPosition | Scroll position which is calculated by ScrollableBase |
Overrides
View SourceRecycle(float)
This is called to find out which items should be recycled according to current scroll position.
Declaration
public override List<RecycleItem> Recycle(float scrollPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| float | scrollPosition | Scroll position which is calculated by ScrollableBase |
Returns
| Type | Description |
|---|---|
| List<><RecycleItem> | List of RecycleItems which should be recycled. |
Overrides
View SourceRequestNextFocusableView(View, FocusDirection, bool)
Gets the next keyboard focusable view in this control towards the given direction.
A control needs to override this function in order to support two dimensional keyboard navigation.
Declaration
public override View RequestNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| View | currentFocusedView | The current focused view. |
| View.FocusDirection | direction | The direction to move the focus towards. |
| bool | loopEnabled | Whether the focus movement should be looped within the control. |
Returns
| Type | Description |
|---|---|
| View | The next keyboard focusable view in this control or an empty handle if no view can be focused. |