dynamic-animation/src/main/java/androidx/dynamicanimation/animation/FloatPropertyCompat.java
@RequiresApi(24)
    public static <T> FloatPropertyCompat<T> createFloatPropertyCompat(
            final FloatProperty<T> property) {
        return new FloatPropertyCompat<T>(property.getName()) {
            @Override
            public float getValue(T object) {
                return property.get(object);
            }

            @Override
            public void setValue(T object, float value) {
                property.setValue(object, value);
            }
        };
    }
/**
     * Create a {@link FloatPropertyCompat} wrapper for a {@link FloatProperty} object. The new
     * {@link FloatPropertyCompat} instance will access and modify the property value of
     * {@link FloatProperty} through the {@link FloatProperty} instance's setter and getter.
     *
     * @param property FloatProperty instance to be wrapped
     * @param <T> the class on which the Property is declared
     * @return a new {@link FloatPropertyCompat} wrapper for the given {@link FloatProperty} object
     */
Create a  FloatPropertyCompat wrapper for a  FloatProperty object. The new
FloatPropertyCompat instance will access and modify the property value of
FloatProperty through the  FloatProperty instance's setter and getter.

@param property FloatProperty instance to be wrapped
@param  the class on which the Property is declared
@return a new  FloatPropertyCompat wrapper for the given  FloatProperty object
Create a FloatPropertyCompat wrapper for a FloatProperty object . The new FloatPropertyCompat instance will access and modify the property value of FloatProperty through the FloatProperty instance ' s setter and getter . @param property FloatProperty instance to be wrapped @param the class on which the Property is declared @return a new FloatPropertyCompat wrapper for the given FloatProperty object
@RequiresApi(24)
    public static <T> FloatPropertyCompat<T> createFloatPropertyCompat(
            final FloatProperty<T> property) {
        return new FloatPropertyCompat<T>(property.getName()) {
            @Override
            public float getValue(T object) {
                return property.get(object);
            }
            @Override
            public void setValue(T object, float value) {
                property.setValue(object, value);
            }
        };
    }
@ RequiresApi ( 24 ) public static < T > FloatPropertyCompat < T > createFloatPropertyCompat ( final FloatProperty < T > property ) { return new FloatPropertyCompat < T > ( property . getName ( ) ) { @ Override public float getValue ( T object ) { return property . get ( object ) ; } @ Override public void setValue ( T object , float value ) { property . setValue ( object , value ) ; } } ; }
Create a {@link FloatPropertyCompat} wrapper for a {@link FloatProperty} object.
Create a { @link FloatPropertyCompat } wrapper for a { @link FloatProperty } object .