•  

Conquering concurrency: Bringing the Reactive Extensions to the Android platform

A session at Droidcon London 2013

Friday 25th October, 2013

10:30am to 11:15am (GMT)

Without a doubt, concurrency is one of the toughest problems to deal with in day to day programming. Being based on Java, Android comes with a number of low level concurrency abstractions such as Java Threads and the slightly higher level AsyncTask, which however suffer from typical intricacies that are inherent to imperative languages, such as the need to synchronize access to shared resources and being generally unsuited for composition and transformation.

At SoundCloud we have recently turned to functional reactive programming as a means to dramatically simplify and stabilize functionality that involves event based asynchronous operations such as disk or network I/O followed by updates on the UI thread. In this talk I will demonstrate how we use RxJava, an implementation of Rx on the Java platform, to hook up fragments to any number or combination of concurrent data sources without writing a single line of threading or synchronization code, and how to apply Rx to some larger app use cases such as result paging.

About the speaker

This person is speaking at this event.
Matthias

Software Engineer @ SoundCloud

Coverage of this session

Sign in to add slides, notes or videos to this session

Droidcon London 2013

England England, London

24th27th October 2013

Tell your friends!

When

Time 10:30am11:15am GMT

Date Fri 25th October 2013

Short URL

lanyrd.com/scqbyy

View the schedule

Share

Books by speaker

  • Android in Practice

See something wrong?

Report an issue with this session