private Property < CircularProgressDrawable , Float > createAngleProperty ( ) { return new Property < CircularProgressDrawable , Float > ( Float . class , "angle" ) { @ Override public Float get ( final CircularProgressDrawable object ) { return currentGlobalAngle ; } @ Override public void set ( final CircularProgressDrawable object , final Float value ) { currentGlobalAngle = value ; invalidateSelf ( ) ; } } ; }
Creates and returns a property which allows to animate the global angle of the progress drawable .