Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

PropertyValuesHolderTarget

class PropertyValuesHolderTarget : ParallaxTarget
kotlin.Any
   ↳ androidx.leanback.widget.ParallaxTarget
   ↳ androidx.leanback.widget.ParallaxTarget.PropertyValuesHolderTarget

PropertyValuesHolderTarget is an implementation of ParallaxTarget that uses PropertyValuesHolder to update the target object.

Summary

Public constructors

<init>(targetObject: Any!, values: PropertyValuesHolder!)

Public methods

Unit
update(fraction: Float)

Inherited functions

Public constructors

<init>

PropertyValuesHolderTarget(targetObject: Any!, values: PropertyValuesHolder!)

Public methods

update

fun update(fraction: Float): Unit