Droidcon India 2014

Droidcon India’s fourth edition

Achin Kumar

@contactachin

Effective patterns for communication between application components

Submitted Oct 22, 2014

Learn how to establish efficient communication between components of an application, involving various patterns and their pros, cons and ideal use cases.

Outline

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.

Requirements

  1. Basic development experience on android framework.
  2. Basic android development setup.

Speaker bio

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
http://vinsol.com/blog/2014/09/15/advocating-fragment-oriented-applications-in-android/
http://vinsol.com/blog/2014/09/19/transaction-backstack-and-its-management/
http://vinsol.com/blog/2014/09/15/advocating-fragment-oriented-applications-in-android/
Got a mention in Android Weekly
http://androidweekly.net/issues/issue-121

I’m looking forward to share my experiences and meet other Android devs out there.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

droidconIN is an annual conference on Android, part of the worldwide series of events. more