0

Does anyone know what causes this memory leak? I have no idea how to fix it

enter image description here

Sanket Bhat
  • 340
  • 3
  • 16
daiyiming
  • 19
  • 1

1 Answers1

2

somewhere in your class you are storing the value of mContext as a variable which is which is not being destroyed when your activity recreates (e.g. rotates)

try to remove that mContext from that class or make sure that it gets destroyed with the activity.

Jay Pandya
  • 138
  • 4