arrow_back Power of ViewGroups
Android App (Vulner)ability arrow_forward
Effective patterns for communication between application components
Submitted by Achin Kumar (@contactachin) on Wednesday, 22 October 2014
Learn how to establish efficient communication between components of an application, involving various patterns and their pros, cons and ideal use cases.
Communication Pattern here is about passing message between components within an android application. Components can be Activities, Services, Fragments, Helper classes and so on. In an application with a large number of such components, it’s quite tricky to make them talk to each other without violating good practices.
In this workshop I’ll be demonstrating about different approaches that can be taken to establish this communication. Starting with a prevailing(wrong) practice of keeping references across components to call methods on, I would move ahead keeping components loosely coupled, describing Interface based communication and various implementations of Event Bus. Will be demonstrating the upsides and downsides of these approaches and their ideal use-cases.
- Basic development experience on android framework.
- Basic android development setup.
Android application developer with more than 3 years of experience, working with Vinsol, based in New Delhi.
I’ve worked on a number of UI intensive applications and have got an inclination towards UI innovation. I keep trying to compose new UX patterns. Application architecture is another thing I keep brainstorming around.
I’m an opinionated blogger. You can checkout few of my writeups
Got a mention in Android Weekly
I’m looking forward to share my experiences and meet other Android devs out there.