
A nested class has no link to its outer object. An inner class keeps one. What the compiler generates for each, and how that hidden link can leak an Activity.
Senior Android Engineer | Kotlin, Android Internals, Performance Engineering & AI
I'm Mayank, an Android engineer focused on Kotlin, software architecture, performance engineering, and AI-assisted development. I write about building Android apps with AI, including the experiments that don't work.
Markdown supported · ⌘↵ to post
No responses yet.