Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

of

ReduxKotlin.org DroidCon NYC 2019 Slide 1 ReduxKotlin.org DroidCon NYC 2019 Slide 2 ReduxKotlin.org DroidCon NYC 2019 Slide 3 ReduxKotlin.org DroidCon NYC 2019 Slide 4 ReduxKotlin.org DroidCon NYC 2019 Slide 5 ReduxKotlin.org DroidCon NYC 2019 Slide 6 ReduxKotlin.org DroidCon NYC 2019 Slide 7 ReduxKotlin.org DroidCon NYC 2019 Slide 8 ReduxKotlin.org DroidCon NYC 2019 Slide 9 ReduxKotlin.org DroidCon NYC 2019 Slide 10 ReduxKotlin.org DroidCon NYC 2019 Slide 11 ReduxKotlin.org DroidCon NYC 2019 Slide 12 ReduxKotlin.org DroidCon NYC 2019 Slide 13 ReduxKotlin.org DroidCon NYC 2019 Slide 14 ReduxKotlin.org DroidCon NYC 2019 Slide 15 ReduxKotlin.org DroidCon NYC 2019 Slide 16 ReduxKotlin.org DroidCon NYC 2019 Slide 17 ReduxKotlin.org DroidCon NYC 2019 Slide 18 ReduxKotlin.org DroidCon NYC 2019 Slide 19 ReduxKotlin.org DroidCon NYC 2019 Slide 20 ReduxKotlin.org DroidCon NYC 2019 Slide 21 ReduxKotlin.org DroidCon NYC 2019 Slide 22 ReduxKotlin.org DroidCon NYC 2019 Slide 23 ReduxKotlin.org DroidCon NYC 2019 Slide 24 ReduxKotlin.org DroidCon NYC 2019 Slide 25 ReduxKotlin.org DroidCon NYC 2019 Slide 26 ReduxKotlin.org DroidCon NYC 2019 Slide 27 ReduxKotlin.org DroidCon NYC 2019 Slide 28 ReduxKotlin.org DroidCon NYC 2019 Slide 29 ReduxKotlin.org DroidCon NYC 2019 Slide 30 ReduxKotlin.org DroidCon NYC 2019 Slide 31 ReduxKotlin.org DroidCon NYC 2019 Slide 32 ReduxKotlin.org DroidCon NYC 2019 Slide 33 ReduxKotlin.org DroidCon NYC 2019 Slide 34 ReduxKotlin.org DroidCon NYC 2019 Slide 35 ReduxKotlin.org DroidCon NYC 2019 Slide 36 ReduxKotlin.org DroidCon NYC 2019 Slide 37 ReduxKotlin.org DroidCon NYC 2019 Slide 38
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

1 Like

Share

Download to read offline

ReduxKotlin.org DroidCon NYC 2019

Download to read offline

This is a call to action for developers to unite on a standard Kotlin Redux implementation with multiplatform support. ReduxKotlin.org was created to be a community driven solution that supports all of Kotlin's platforms. Kotlin Multiplatform + Redux is a solution that pulls more code into the shared space. Talk to include brief intro to Redux in Kotlin, how it can be used, and a sample app. Also a look into how Redux can fit into the new reactive frameworks Jetpack Compose & SwiftUI. https://reduxkotlin.org

Related Books

Free with a 30 day trial from Scribd

See all

ReduxKotlin.org DroidCon NYC 2019

  1. 1. ReduxKotlin.org Redux for all Kotlin Platforms Patrick Jackson WillowTree
  2. 2. 3 Principles: •Single source of truth •State is read-only •Changes to state are made with pure functions
  3. 3. Store StategetState New State Listeners Middlewaredispatch subscribe Action Reducer
  4. 4. What is ReduxKotlin.org?
  5. 5. Multiplatform Support • JVM • Native (iOS, macOS, win, linux) • JS • Web Assembly
  6. 6. Multiplatform Support • JVM • Native (iOS, macOS, win, linux) • JS • Web Assembly
  7. 7. Shared Kotlin Code Platform Code (Kotlin, Swift) Store Activity, Fragment, Or ViewController AppState Reducers ApiService MiddlewaresLocalStorage Database
  8. 8. shared/build.gradle:
  9. 9. Shared Kotlin Code Platform Code (Kotlin, Swift) Store Activity, Fragment, Or ViewController AppState Reducers Database ApiService MiddlewaresLocalStorage
  10. 10. Shared Kotlin Code Platform Code (Kotlin, Swift) Store Activity, Fragment, Or ViewController AppState Reducers Database ApiService MiddlewaresLocalStorage Listen for ΔState & create ViewState View Interface Presenter Function
  11. 11. Presenter Functions
  12. 12. Presenter Functions
  13. 13. Presenter Functions
  14. 14. Presenter Functions
  15. 15. Presenter Functions
  16. 16. Presenter Functions
  17. 17. Presenter Functions
  18. 18. Activity/Fragment:
  19. 19. Shared Kotlin Code Platform Code (Kotlin, Swift) Store Activity, Fragment, Or ViewController AppState Reducers Database ApiService MiddlewaresLocalStorage Listen for ΔState & create ViewState View Interface Presenter Function
  20. 20. Sample Apps Source at https://reduxkotlin.org Name Game ReadingList
  21. 21. 2020 & beyond
  22. 22. MovieSwiftUI-Kotlin Code moved to shared Kotlin: • networking • models • app state • actions • reducers • user preferences (local storage) • save/restore state logic • date formating
  23. 23. SwiftUI
  24. 24. SwiftUI
  25. 25. Jetpack Compose
  26. 26. Jetpack Compose
  27. 27. What’s Next? • ReduxKotlin.org website, similar to redux.js.org • Continue to flesh out sample apps, adding jetpack compose • Explore using Android/iOS/React + shared Kotlin code • Integrate with devtools • Add contributors to the team
  28. 28. THANK YOU https://reduxkotlin.org @patjackson52 https://willowtreeapps.com #redux on the kotlinlang slack
  • ssuser779af11

    Jan. 28, 2021

This is a call to action for developers to unite on a standard Kotlin Redux implementation with multiplatform support. ReduxKotlin.org was created to be a community driven solution that supports all of Kotlin's platforms. Kotlin Multiplatform + Redux is a solution that pulls more code into the shared space. Talk to include brief intro to Redux in Kotlin, how it can be used, and a sample app. Also a look into how Redux can fit into the new reactive frameworks Jetpack Compose & SwiftUI. https://reduxkotlin.org

Views

Total views

472

On Slideshare

0

From embeds

0

Number of embeds

21

Actions

Downloads

6

Shares

0

Comments

0

Likes

1

×