android dev conference 2017 - produtividade ninja no android studio

16
Ramon Rabello android ninja developer Ninja Productivity in android studio

Upload: imasters

Post on 21-Jan-2018

68 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Ramon Rabelloandroid ninja developer

Ninja Productivity in android studio

Page 2: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Ramon Rabello about.me/ramonrabello

~10 years

Senior Android Software Engineer

Says “Égua!”Communities

Page 3: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

"What I need to be a ninjoid™" ?

Page 4: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Master the shortcuts. They are your shurikens!Preferences > Keymap

Page 5: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Learn and love the tools

SDK Manager

AVD Manager

Layout Inspector

Theme Editor

APK Analyzer

Layout Designer

AppLink Assistant

Firebase

Android Device Monitor

Android ProfilersNew Layout EditorKotlin ConverterShow BytecodesAndroid O Support

Adaptive Icons

Device Explorer

Instant AppsDownloadable Fonts

New APK Analyzer…

New Emulator

Page 6: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

SDK Manager

AVD Manager

Layout Inspector

Theme Editor

APK Analyzer

Layout Designer

AppLink Assistant

Firebase

Android Device Monitor

Android ProfilersNew Layout EditorKotlin ConverterShow BytecodesAndroid O Support

Adaptive Icons

Device Explorer

Instant AppsDownloadable Fonts

New APK Analyzer…

New Emulator

Learn and love the tools

……

Network Profiler new

What’s New in Android Development Tools (Google I/O ’17)

Page 7: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Boost your code with Live TemplatesPreferences > Editor > Live Templates

control + Jcommand + J

Page 8: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Use Scope-based selectionalt + ⬆ | ⬇option + ⬆ | ⬇

Page 9: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Organize your resources with sourceSets

android { … sourceSets { main.res.srcDirs = [ ‘src/main/res-screen/agenda’, ‘src/main/res-screen/categories’ ] main.java.srcDirs = [‘src/main/kotlin’ ] test.java.srcDirs = [ ‘src/test/kotlin’ ] androidTest.java.srcDirs = [ ‘src/androidTest/kotlin’ ] } } }

Page 10: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Follow the lights!alt + enter command + return

Page 11: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Save time with multi-cursor edition!control + G command + G

Page 12: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Time to live coding!

Page 13: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Learn and move to Kotlin, for the win!

Lambda expressions

Extension Functions

Null-Safety

Smart-casts

Data classes

Type Inference

Properties

Singletons

High-order Functions

Delegations

Coroutines

Kotlin Programming Language

Primary constructors

Page 14: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Contribute testing Android Studio Previews

Be an Early Adopter

Page 15: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Android Studio Like a Boss

Live Templates in Android Studio: Using and Creating Them

Android Studio Project Site

The experts guide to Android development tools - Google I/O 2016

https://goo.gl/XuCqEs

http://tools.android.com

https://goo.gl/lqUC8X

What’s next?

https://www.youtube.com/watch?v=4rI4tTd7-J8

(About) 10 Things You (Probably) Didn’t Know You Could do in Android Studiohttps://goo.gl/8mcnZQ

Page 16: Android Dev Conference 2017 - Produtividade Ninja no Android Studio

Thank you! about.me/ramonrabello

slack.androiddevbr.org

Join the largest Android brazilian community!

slack.kotlinlang.org

Contribute to the worldwide Kotlin community!

meetup.com/kotlin-meetup-sp

Join the growing Kotlin Meetup SP!