How to find cursors that are not closed in whole project that may cause memory leaks and other problems since Android lint warns them now?
Finally I found the way!
from top menu: Analyze
>Inspect code
then whole project
and OK
Now wait till Android studio
finds lint
problems in your app, then go to the below item and check if the not recycled item is Cursor
, also you can use it for other resources that are open but not closed!
Android > Lint > Performance
then Missing recycle() calls
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With