John is an Android engineer on Cash App where he leads core strategic initiatives for the Financial Services organization. Previously, he worked on the Square Point-of-Sale and Developer SDK teams. He is the lead maintainer for Paparazzi and has contributed to LeakCanary, Picasso and Wire.
Plugging Into the Gradle Matrix
13:10 > 40 min
Whether consolidating build script logic, writing convention plugins, or adding tooling to your apps, Gradle plugins are powerful ways to extend your build.
This talk will show how to develop your plugins safely while avoiding some of the pitfalls you might otherwise encounter, especially the ones that can negatively impact your build speed!
We'll analyze various plugins in the wild and explore:
* how to manage cacheability - build and configuration!
* deferring task creation until they're actually needed
* working with properties, providers, and file collections
* how convention plugins can help you scale your app builds sanely
* what APIs you should stop using now!
Snapshot testing (and more!) with Paparazzi 📸
14:50 > 40 min
Unit tests allow you refactor your code with confidence and usually run blazingly fast! But how do you ensure that your UI looks as expected? Espresso tests are hard to set up, prone to flakiness and require APKs, emulators, dexing, ADB...ugh.
Come find out how we're improving the UI testing loop on Cash App with Paparazzi -- an Android testing library to render your application screens without a physical device or emulator! This talk will explore both the use cases for Paparazzi, as well as go under the hood discussing its interaction with LayoutLib, the driver behind Android Studio's Layout Inspector feature. It'll also introduce and/or discuss exciting new upcoming features.