Like every year, I had again the pleasure of attending Droidcon UK in London last week. To share my impressions I wrote these small summary of some talks I was listen to.
Google's Chief Game Designer Noah Falstein told about how development evolved over years. He started as a game designer in 1980 and worked on popular games like Sinistar, Secret of Monkey Island and Indiana Jones. In the keynote he created a relation between cave-paintings and VR. He also gives a prospective about future VR and AR and explained his cause of why VR is much more than only a game technology.
Did you test it?
The first talk I attended, was an overview over testing without a dedicated QA team. Derek Rozycki and Kirk Chambers gave some recommendations how to create good test plans and state diagrams. They reminded every attendee to think outside the happy path while testing an app. Also a good tip was to check if deep links could create shortcuts for your test, when the app state isn't important for the testcase itself.
Get Ready for Android Wear 2.0
The Googlers Hoi Lam and Agnieszka Madurska explored the past and presented the future of Android Wear. They gave an insight of the Android Wear team and how they created the WearableRecyclerView. A significant introduction was an wear emulator for round wearables with a chin.
Android Testing Support Library
Zan Markan explored the various stages of the Android Tesing Support Library. He discovered test Rules, rest Runners and how to bring out the max of Expresso and Firebase's Cloud Test Lab. A usefull implementation of 'scrollableScrollTo' for espresso tests was open sourced on github
Lightning Talks #1
Facebook's engineer Martino Luca started the lighning talks with an summary of Infer, the static code analysis tool from facebook. Completly integrated in android studio and the gradle build process, the tool should decrease the amount of faults in every app.
Optimising the performance of VectorDrawable
My GDG Collegue Florina Muntenescu from Berlin gave some tips how to improve the performance when using vector drawables. To replace all PNGs with vector drawables can shrinken the apk but results in a slower app performance. The talk gave a nice insight how vector drawables are rendered and when you should avoid using them.
7 Ways to improve your Gradle build
Tania Pinheiro explores 7 simple ways to improve android gradle builds.
- use extra properties for version numbers eg. support library
- use manifest-placeholders to replace strings or resources in the manifest
- use custom scripts
- change the default build type for test-runs eg. rund tests always against a mock
- extract singing credentials to a separate properties file (increase security)
Flat as a Pancake
The two Facebook engineers Emil Sjörlander and Pasquale Anatriello gave a funny talk about nested and boring Layouts. Flatten the view hierarchy isn’t enough, they shared measurements and tricks to increase the layout performance with a newly created tool by facebook where every developer can create performant apps.
Declarative android framework
Serj Lotutovici talked about the pros and cons of Moshi a modern json library. In his talk he gave some numbers and comparison to Jackson and Gson
Keeping it Clean
Rich King a Senior Developer at Badoo talked about his pains changing architectures. While they messed around with many different approuches, they created a complete chat framework for android which is opensourced on github.
Android Architecture Blueprints
David González and Jose Alcérreca explores their motivations to create a sample project to create a discussion basis for architectures. This collection was created by the community and curated by google and become a official google sample. It contains samples for loaders, databinding, clean code and as well dagger and rxjava implementations.