VerticalScroll

class VerticalScroll(val child: Component, val scrollbarEnabled: Boolean = false, val nestedScrollingEnabled: Boolean = false, val verticalFadingEdgeEnabled: Boolean = false, val fillViewport: Boolean = false, val scrollbarFadingEnabled: Boolean = true, val overScrollMode: Int = android.view.View.OVER_SCROLL_IF_CONTENT_SCROLLS, val fadingEdgeLength: Dimen = 0.px, @ColorInt val fadingEdgeColor: Int? = null, val initialScrollPosition: Dimen = 0.px, val eventsController: VerticalScrollEventsController? = null, val onScrollChange: (NestedScrollView, scrollY: Int, oldScrollY: Int) -> Unit? = null, val onInterceptTouch: (NestedScrollView, event: MotionEvent) -> Boolean? = null, val onScrollStateChange: ScrollStateListener? = null, val incrementalMountEnabled: Boolean = true, val style: Style = Style) : PrimitiveComponent

Constructors

Link copied to clipboard
constructor(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, fadingEdgeLength: Dimen = 0.px, @ColorInt fadingEdgeColor: Int? = null, initialScrollPosition: Dimen = 0.px, 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 = Style)

Types

Link copied to clipboard
class Builder(child: Component)

Builder for constructing VerticalScroll from Java code. Allows setting only the properties you need — all others use sensible defaults.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val fadingEdgeColor: Int? = null
Link copied to clipboard
val fadingEdgeLength: Dimen
Link copied to clipboard
val fillViewport: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onScrollChange: (NestedScrollView, scrollY: Int, oldScrollY: Int) -> Unit? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
operator override fun equals(@Nullable other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun getSimpleName(): String
Link copied to clipboard
fun getTypeId(): Int
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
override fun isEquivalentTo(other: Component?): Boolean
Link copied to clipboard
override fun makeShallowCopy(): Component
Link copied to clipboard
fun measure(p0: ComponentContext, p1: Int, p2: Int, p3: Size)
fun measure(p0: ComponentContext, p1: Int, p2: Int, p3: Size, p4: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun resolveDeferred(calculationContext: CalculationContext, componentContext: ComponentContext, parentContext: ComponentContext): ComponentResolveResult
Link copied to clipboard
Link copied to clipboard
open override fun <T : Any> setDebugAttributeKey(attributeKey: AttributeKey<T>, value: T & Any)
Link copied to clipboard
override fun toString(): String