what’s new in studio 1.4
TRANSCRIPT
Who am I?
Ami Goldenberg
Co-Founder & CTO at FairFly
4+ years with Android
Efficiency fanatic (lazy ass)
Agenda
■ New studio tools□ Theme Editor□ Vector assets□ Monitors
■ Code generation■ Productivity tips
Vector assets
■ Importing icons is going to get a lot easier
■ Converts SVG to PNGs at build time for older versions
■ Material design icons / Your own SVGs
■ Requires upgrade to Android Gradle plugin 1.4 (not available yet)
Use this in the meantime - https://github.com/wnafee/vector-compat
Monitors - What are they good for?
■ Memory leaks
■ Excessive allocations
■ Inefficient network usage
■ Performance hogs
Solving perf problems
● Perf Matters Youtube channel https://www.youtube.com/playlist?list=PL1CrI7jw_egMwictLl6CAtgTKwTkV7p18
● Udi Cohen’s presentation - https://speakerdeck.com/udinic/speed-up-your-app-droidcon-nyc-2015
● Ran Nachmany’s presentation - http://www.slideshare.net/DroidConTLV/android-performance-matters-ran-nachmany-google
Code generation
■ Parcelable implementation
■ Permission checks
■ Live templates
■ Google Services
■ Data Binding (later today)
More android live templates here: https://github.com/keyboardsurfer/idea-live-templates
Productivity
■ Productivity guide
■ Shortcuts everywhere!
■ Quick fixes
More shortcuts - https://gautam.io/work/android_studio_shortcuts/More tips - http://www.developerphil.com/android-studio-tips-of-the-day-roundup-6/