This event is called when user long selects a item at specific index.
This event is called when a scroll occurs.
Return true if the event is consumed. onGesture
This event is called when the view is attached to a window. At this point it has a Surface and will start drawing.
This event is called when the view is detached to a window. At this point it no longer has a surface for drawing.
This property enables/disables snapping the center of the target child view to the center of the GridView in either vertical or horizontal orientation. For iOS, prefer to UI.LayoutManager.targetContentOffset
Gets/sets over-scroll mode for this view.
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.
Gets/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.
Gets/sets ripple effect enabled for view. You should set UI.View#rippleColor rippleColor to see the effect.
Gets/sets ripple effect color for view.
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
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.
Called when the GridView 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 GridView is recreated.
Called when the GridView 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 GridView is recreated.
Generated using TypeDoc
This event is called when a GridView's scroll state is changed. To remove this evet, set null. For better performance, don't set any callback if does not necessary