Slide 1

Slide 1 text

Scott Alexander-Bown @ScottyAB [email protected]

Slide 2

Slide 2 text

Goal: Intro to doppl

Slide 3

Slide 3 text

Non-Goal: Deep dive Not an expert in doppl :’(

Slide 4

Slide 4 text

Agenda What is it? Show me the code! Cavets Why should you care? @ScottyAB

Slide 5

Slide 5 text

Android centric code sharing based on J2objc @ScottyAB

Slide 6

Slide 6 text

What do you mean? Image thanks to Kevin Galligan, touchlab

Slide 7

Slide 7 text

If users see it, make it native Otherwise, make it once* @ScottyAB

Slide 8

Slide 8 text

*Platform integration @ScottyAB

Slide 9

Slide 9 text

What Could Doppl Convert? @ScottyAB

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

What Could Doppl Convert? Repository View-Models Presenters Platform-Agnostic Presentation Utility Code @ScottyAB

Slide 12

Slide 12 text

Android library support Architecture components Reactive: RxJava2 Remote: Retrofit, OkHttp Local: Room, SQL Cipher for Android Testing: Mockito @ScottyAB

Slide 13

Slide 13 text

Show me the code!

Slide 14

Slide 14 text

Android code: Host Interface @ScottyAB

Slide 15

Slide 15 text

Android code: Fragment @ScottyAB

Slide 16

Slide 16 text

Converting to iOS Download the Doppl Runtime (1.6GB) $ ./gradlew dopplBuild $ pod install @ScottyAB

Slide 17

Slide 17 text

iOS: View Controller @ScottyAB

Slide 18

Slide 18 text

Rough edges Memory Cycles/Reference counting Runtime size (15MB) Debugging via Xcode can be flakey No support for Swift/Kotlin @ScottyAB

Slide 19

Slide 19 text

Tech preview @ScottyAB

Slide 20

Slide 20 text

Doppl is a Trademark of Touch Lab Inc. @ScottyAB

Slide 21

Slide 21 text

Get started/resources http://doppl.co/ @doppllib on Twitter Doppl Slack group `doppl` Stack Overflow tag https://github.com/doppllib/DroidconDopplExample @ScottyAB

Slide 22

Slide 22 text

Wrap up @ScottyAB

Slide 23

Slide 23 text

Why should you care? Native tools/SDK wins Share allot or a little Cost cutting / Management pressure @ScottyAB

Slide 24

Slide 24 text

Scott Alexander-Bown @ScottyAB [email protected] Thanks for listening! More info doppl.co Available for hire