Navigation and the Single Activity: Learnings from a Skeptic
Senior Android Engineer
Google Developer Export for Android, Senior Engineer at ImmobilienScout24, digital policy advocate, musing over fond memories of British tea and Salt & Vinegar Crisps
"Fragments have often been the controversial, and to some, the stuff of nightmares, with the inconsistency of lifecycle events, complex UI interaction, and unexpected behaviours making many Android developers suspicious of their usage. But with the development and recent stable publication of the navigation library, it may be the right time to give them a chance. Giving Fragments a second chance is not something I’d ever thought I’d be saying, but it’s a fantastic opportunity to find a solution to sharing data across a single screen. Explore with me as I walk you through my experience implementing the navigation library and safeargs, and how I used them to implement type safe argument bindings, and how you can utilise the once troubled framework type to your advantage."