This project contains some example code to go with my talk.
There are two modules.
Contains a few simple examples from the talk.
- The comparisonpackage contains implementations of a UI flow with several different strategies (callbacks, Observables, coroutines, etc) for comparison.
- javainterophas examples of using coroutines from java.
- ExampleUnitTest.kthas examples of using coroutines in tests.
- ConfirmationDialog.kt
- BlockingCalls.kt
- JobCancellationActivity.kt
Has a more complicated flow example (based loosely on FIXD), which includes a MVVM pattern, and a couple of helpers that are based on ones used in our actual code. This is intended to be a more real-world example of coroutines in Android.