Flowing-Gradient
Flowing-Gradient copied to clipboard
FlowingGradient should call TypedArray.recycle() method
FlowingGradient should call TypedArray.recycle() method
TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.FlowingGradient, 0, 0);
draw = a.getResourceId(R.styleable.FlowingGradient_transition_drawable, R.drawable.translate);
duration = a.getInt(R.styleable.FlowingGradient_transition_duration, 75);
//should be called
a.recycle();