VerticalScrollComponentSpec

@MountSpec(hasChildLithoViews = true, isPureRender = true)
open class VerticalScrollComponentSpec

Component that wraps another component, allowing it to be vertically scrollable. It's analogous to android.widget.ScrollView. TreeProps will only be set during @OnCreateInitialState once, so updating TreeProps on the parent will not reflect on the VerticalScrollComponent.

See also: com.facebook.litho.widget.HorizontalScroll for horizontal scrollability.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard