Google 致力于为黑人社区推动种族平等。查看具体举措

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