dynamitechetan / dynamitechetan/Flowing-Gradient

FlowingGradient should call TypedArray.recycle() method

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
698
Forks
88
PR merge metrics
No merged PRs in 30d

Description

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

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the FlowingGradient code that obtains styled attributes with TypedArray, as shown in the issue. Verify the resource reads and the TypedArray lifecycle, then confirm the change by building or running the Android library checks available in the repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.