List of usage examples for android.util Property get
public abstract V get(T object);
object
. From source file:com.bartoszlipinski.viewpropertyobjectanimator.ViewPropertyObjectAnimator.java
private void animateProperty(Property<View, Float> property, float toValue) { if (hasView()) { float fromValue = property.get(mView.get()); animatePropertyBetween(property, fromValue, toValue); }/* w w w . j a va2 s . com*/ }
From source file:com.bartoszlipinski.viewpropertyobjectanimator.ViewPropertyObjectAnimator.java
private void animatePropertyBy(Property<View, Float> property, float byValue) { if (hasView()) { float fromValue = property.get(mView.get()); float toValue = fromValue + byValue; animatePropertyBetween(property, fromValue, toValue); }/*from w w w. j a va 2 s.co m*/ }