ahampe / ahampe/KDVS

Find and resolve memory leaks

Aperta
#31 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Kotlin
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Memory leaks are super common in Android. Luckily, there's a nice library that can automatically detect them: https://square.github.io/leakcanary/getting_started/

There are a few places I've seen where we hold onto fragment references in other classes, for example. That's almost certainly leaking memory. There's usually a way to engineer it so you don't need to wrap these things in a `WeakReference`, but that can be used as a last resort if we absolutely need a reference to an object with an Android lifecycle.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.