Mobile Apr 23, 2019

The Rise Of The State Machines

More info: http://androidmakers.fr/schedule/?ses… You’re right, that title seems scary: there are so many complicated words and we all know there’s no silver bullet in programming. So instead of explaining why an architecture is better than another, let’s discuss some issues we face in our daily Android development job and how we can solve those through 3 examples: 1. I have crashes I can’t reproduce. 2. Integration tests are great and necessary to ensure a complete flow is working as expected, but they are complex to set up, and it takes time to run the whole test suite when using an instrumentation tool such as Espresso 3. My legacy app has some “startActivity” calls in activites, fragments, custom views, and even in RecyclerView adapters (who did that !?!). I have no visibility regarding the overall navigation of and the code is sometimes hard to follow. We will see today the concepts underneath and how such an architecture can be implemented using functional programming patterns through writing a Kotlin DSL. At the end of the talk, you will get a new, fresh, vision on how to approach programming on Android, through a unidirectional data flow structure, and maybe you’ll be interested in implementing a similar architecture.