oligazar
6/20/2017 - 12:26 AM

Android Studio

Android Studio keymap: https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf Json to Kotlin: option + K

Легкое управление системой контроря версиями Git в Android Studio https://code.tutsplus.com/ru/tutorials/working-with-git-in-android-studio--cms-30514

KotlinFragment (Kotlin)
RecyclerViewAdapter (Realm)
RecyclerViewAdapter (Kotlin)
ViewStateController (Kotlin)
FragmentCreator (Kotlin)
MyBlankFragment
MyStandardFragment
MyMasterDetailFlow
MyMasterDetailLite
MyMVPTemplateActivity
MySplashScreenActivity
// In code
byid - find view by id
deser - create gson deserializer
logd - log d with debug variant check
rget - create retrofit GET query
rpost - retrofit POST query
robj - create realm object
snack - create Snackbar
valid - EditText validation with error text
fragmenu - Creates options menu in fragment
menuit - Create menu item for options menu
repfrag - replace Fragment with FragmentManager inTransaction extension

// In xml
fab - add FloatingActionButton
states - add ViewAnimator with states views inside
tabs - create TabbarLayout
tb - create ToolbarLayout
tbcoll - create CollapsingToolbarLayout

app:srcCompat // use it instead of android:src for vector drawables support

// build.gradle
  vectorDrawables.useSupportLibrary = true