InterpolateOnScrollPositionChangeHelper

constructor(shapedView: View, materialShapeDrawable: MaterialShapeDrawable, containingScrollView: ScrollView)

Instantiate a scroll position helper.

Parameters

shapedView

the View whose background is a MaterialShapeDrawable and which is scrolled in and out of view.

materialShapeDrawable

the MaterialShapeDrawable which will be interpolated.

containingScrollView

the ScrollView that contains shapedView.