added in version 25.4.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
ParallaxTarget
public
abstract
class
ParallaxTarget
extends Object
java.lang.Object | |
↳ | android.support.v17.leanback.widget.ParallaxTarget |
Known Direct Subclasses
ParallaxTarget.DirectPropertyTarget<T, V extends Number>,ParallaxTarget.PropertyValuesHolderTarget
|
ParallaxTarget is responsible for updating the target through the update(float)
method
or the directUpdate(Number)
method when isDirectMapping()
is true.
When isDirectMapping()
is false, ParallaxEffect
transforms the values of
Parallax
, which represents the current state of UI, into a float value between 0 and 1.
That float value is passed into update(float)
method.