In Java, a HashMap object that is specified as a key is not eligible for garbage collection. A WeakHashMap object that is specified as a key is still eligible for garbage collection
My question is in Android, what is the behavior of SparseArray in terms of garbage collection? Is it more like HashMap or more like WeakHashMap
 
    