added in version 25.4.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

ParallaxTarget.DirectPropertyTarget

public static final class ParallaxTarget.DirectPropertyTarget
extends ParallaxTarget

java.lang.Object
   ↳ android.support.v17.leanback.widget.ParallaxTarget
     ↳ android.support.v17.leanback.widget.ParallaxTarget.DirectPropertyTarget<T, V extends java.lang.Number>


DirectPropertyTarget is to support direct mapping into either Integer Property or Float Property. App uses convenient method target(Object, Property) to add a direct mapping.

Summary

Public constructors

ParallaxTarget.DirectPropertyTarget(Object targetObject, Property<T, V> property)

Public methods

void directUpdate(Number value)

Directly update the target using a float or int value.

boolean isDirectMapping()

Returns true as DirectPropertyTarget receives a number to update Property in directUpdate(Number).

Inherited methods

From class android.support.v17.leanback.widget.ParallaxTarget
From class java.lang.Object

Public constructors

ParallaxTarget.DirectPropertyTarget

added in version 25.4.0
ParallaxTarget.DirectPropertyTarget (Object targetObject, 
                Property<T, V> property)

Parameters
targetObject Object: Target object for perform Parallax

property Property: Target