Save 37% off PRO during our Black Friday Sale! »

Introduce_Owl.pdf

93dece28ac18d9c0886335e4730ab27b?s=47 itome
August 04, 2019

 Introduce_Owl.pdf

93dece28ac18d9c0886335e4730ab27b?s=128

itome

August 04, 2019
Tweet

Transcript

  1. Introduce "owl" - State management library for android.

  2. Self Introduction https://twitter.com/itometeam https://github.com/itome https://medium.com/@itometeam 0.5min Takeshi Tsukamoto CyberAgent CATS

  3. About owl 2min

  4. About owl Owl is status management library for Android application.

    2min https://github.com/itome/owl
  5. About owl Owl provides.. 2min - Redux like state management.

    - Easy coroutine integration. - Lifecycle aware state stream with Android Architecture Component
  6. How it works 5min

  7. How it works 5min

  8. How it works 5min

  9. How it works 5min - Intent Intent is the sealed

    class that indicates how we want to change the State. We should not consider current State when we dispatch Intent.
  10. How it works 5min - Intent

  11. How it works 5min - Action Action is the sealed

    class that have the data we actually want to apply to State. We can access to Intent dispatched and current State when we create Action.
  12. How it works 5min - Action

  13. How it works 5min - State State is just a

    data class that contains view state. We should not write any logic in it.
  14. How it works 5min - State

  15. How it works 5min - IntentToAction IntentToAction is a function

    that create Action from dispatched Intent and previous State.
  16. How it works 5min - IntentToAction

  17. How it works 5min - Reducer Reducer is a function

    that create next state from action and previous state. (If you are familiar with Redux, this is same as reducer of that.)
  18. How it works 5min - Reducer

  19. How it works 5min

  20. How it works 5min

  21. How it works 5min

  22. How it works 5min How about async programming

  23. How it works 5min Kotlin Coroutines

  24. Async Programming 2min

  25. Async Programming 2min

  26. Async Programming 2min

  27. Async Programming 2min

  28. Async Programming 2min

  29. Async Programming 2min

  30. Testing 3min

  31. Testing 3min - Owl is design for easy testing.

  32. Testing 3min - IntentToAction

  33. Testing 3min - Reducer

  34. Testing 3min - Processor

  35. Testing 3min - Processor

  36. Conclusion 1min

  37. Conclusion 1min Owl is - Minimum status management library for

    Android Application. - Easy to use Kotlin Coroutine - Easy to test
  38. Thank you ! @2019/February Android Weekend https://twitter.com/itometeam https://github.com/itome https://medium.com/@itometeam