14
What’s new in Studio 1.4 And how to boost your productivity

What’s new in studio 1.4

Embed Size (px)

Citation preview

What’s new in Studio 1.4And how to boost your productivity

Who am I?

Ami Goldenberg

Co-Founder & CTO at FairFly

4+ years with Android

Efficiency fanatic (lazy ass)

Rebooking your flight at a better price.

Agenda

■ New studio tools□ Theme Editor□ Vector assets□ Monitors

■ Code generation■ Productivity tips

Theme editor

■ No more fiddling around with the styles.xml!■ (well, almost)

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

Monitors

■ HPROF

■ GPU

■ CPU

■ Memory

■ Network

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

Code generation

Saved me typing 85k charactersSaved me 1086 possible bugs

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/

We’re hiring!

Server Developer | Data Scientist

Thank you!