Deep Dive into Kotlin Sequences

Phil Shadlyn

Android Developer

Shopify

Android developers spend countless hours dealing with lists of data, and with the vast amount of collection operations available to us (think ‘map’, ‘filter’ or ‘sort’) it’s become easier than ever to manipulate that data into the format we want. But all that processing can come at a cost, as sometimes we sacrifice efficiency in the name of readable and concise code. It would be great if there was a way we could do both - be a good citizen when dealing with data, while also still using all the handy operations that we’ve grown to love...

Enter Kotlin Sequences! They offer a different take on iterating through data than a Collection, and in many cases allow you to work with your data more efficiently. Join us as we go through the ins and outs of Kotlin Sequences - what they are, when to use them, and what advantages they offer over traditional collections.

I love Android even more than baseball.

I’m an Android developer at Shopify based in Toronto, Canada. I’ve been working with Android since 2011 and have written and contributed to a wide variety of Android applications, spanning the commerce, travel and healthcare industries. When I’m not behind a keyboard, there’s a good chance I’m either at a baseball game, playing the drums or enjoying a pizza… Ideally all three.

droidcon Americas is produced by:

Mobile Seasons GmbH (droidcon Global HQ)

Messedamm 22

14055, Berlin

Germany

.droidcon is a registered Trademark of Mobile Seasons GmbH

  • dc-social
  • Twitter - White Circle
  • Facebook - White Circle