Flowing-Gradient icon indicating copy to clipboard operation
Flowing-Gradient copied to clipboard

FlowingGradient should call TypedArray.recycle() method

Open LoveqLRC opened this issue 6 years ago • 0 comments

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();

LoveqLRC avatar May 17 '18 03:05 LoveqLRC