Companion

object Companion

Functions

Link copied to clipboard
fun create(child: Component, scrollbarEnabled: Boolean = false, nestedScrollingEnabled: Boolean = false, verticalFadingEdgeEnabled: Boolean = false, fillViewport: Boolean = false, scrollbarFadingEnabled: Boolean = true, overScrollMode: Int = android.view.View.OVER_SCROLL_IF_CONTENT_SCROLLS, fadingEdgeLengthPx: Int = 0, @ColorInt fadingEdgeColor: Int? = null, initialScrollPositionPx: Int = 0, eventsController: VerticalScrollEventsController? = null, onScrollChange: (NestedScrollView, scrollY: Int, oldScrollY: Int) -> Unit? = null, onInterceptTouch: (NestedScrollView, event: MotionEvent) -> Boolean? = null, onScrollStateChange: ScrollStateListener? = null, incrementalMountEnabled: Boolean = true, style: Style? = null): VerticalScroll

Java-compatible factory method that accepts pixel values instead of Dimen. Use this method when calling from Java code since the primary constructor with Dimen parameters is not accessible from Java due to inline class limitations.