LeakingSingleton.kt
TLDR
This file contains a singleton class called LeakingSingleton
which keeps track of leaked views.
Classes
LeakingSingleton
This class represents a singleton object. It contains a mutable list of View
objects called leakedViews
. This list is used to keep track of leaked views.
package com.example.leakcanary
import android.view.View
object LeakingSingleton {
val leakedViews = mutableListOf<View>()
}