Tracing simple memory leak around RecyclerView using LeakCanary

Yuichi Fujiki
5 min readFeb 5, 2019

Figuring out the object references under the hood and the importance of LeakCanary

Preface

This article is mostly meant for novice to mid level Android programmers, who haven’t really digged into LeakCanary yet. I myself used it for the first time recently after delving into Android development for a year. And I am pleasantly surprised how powerful this tool is. This is definitely a must-include tool in every project. At the same time, I was surprised how Android maintains references under the…

--

--

Yuichi Fujiki

Technical director, Freelance developer, a Dad, a Quadriplegic, Life of Rehab