Called when the ListView should save its layout state. This is a good time to save your scroll position, configuration and anything else that may be required to restore the same layout state if the ListView is recreated.
saveInstanceState
4.0.2
Called when the ListView should restore its layout state. This is a good time to restore your scroll position, configuration and anything else that may be required to restore the same layout state if the ListView is recreated.
restoreInstanceState
4.0.2
This event is called when a scroll occurs.
Return true if the event is consumed. onGesture
4.0.0
This event is called when a ListView's scroll state is changed. To remove this evet, set null. For better performance, don't set any callback if does not necessary
onScrollStateChanged
3.2.1
Optional
newState: ScrollStateOptional
contentOffset: Point2DThis event is called when the view is attached to a window. At this point it has a Surface and will start drawing.
onAttachedToWindow
4.0.2
This event is called when the view is detached to a window. At this point it no longer has a surface for drawing.
onDetachedFromWindow
4.0.2
This event is called when user long selects a row at specific index.
2.0.4
onRowLongSelected
Gets/sets over-scroll mode for this view.
= UI.Android.OverScrollMode.ALWAYS]
3.0.2
Gets/sets the nested scrolling enable for this view.
This property should be set to false when this view is inside the bottomsheet for better scrolling experience.
= true]
5.0.4
Readonly
yogaGets/sets foreground of the view for ripple effect. This property should be set before rippleColor. This property only supported for api level 23 and above.
= false]
UI.View
4.0.2
Gets/sets ripple effect enabled for view. You should set UI.View#rippleColor rippleColor to see the effect.
= false]
UI.View
3.2.1
Gets/sets ripple effect color for view.
UI.View
3.2.1
Gets/Sets the elevation of the view. For the views that has StateListAnimator natively like Button, will lost its own StateListAnimation when elevation value changed. For details : https://developer.android.com/training/material/shadows-clipping.html
UI.View
1.1.12
Gets/sets the depth location of the view relative to its elevation. To put view over button, you have to change zIndex value after Android Lollipop. On android, default elevation value of button is bigger than other view. This property affects after Android Lollipop. No-op before api level 21.
UI.View
2.0.8
Sets/gets top-left corner radius of a view.
= 0]
5.1.1
Sets/gets top-right corner radius of a view.
= 0]
5.1.1
Sets/gets top-start corner radius of a view.
= -1]
5.1.1
Sets/gets top-end corner radius of a view.
= -1]
5.1.1
Sets/gets bottom-left corner radius of a view.
= 0]
5.1.1
Sets/gets bottom-right corner radius of a view.
= 0]
5.1.1
Sets/gets bottom-start corner radius of a view.
= -1]
5.1.1
Sets/gets bottom-end corner radius of a view.
= -1]
5.1.1
Generated using TypeDoc
Starts dragging the provided ListViewItem. By default, ListView starts a drag when a ListViewItem is long pressed. You can disable that behavior by setting longPressDragEnabled.
Method
startDrag
Android
Since
4.1.3