Upgrade to Pro — share decks privately, control downloads, hide ads and more …

kotlin season 1 - Part 1 안드로이드 시작하기

TaeHwan
September 28, 2016

kotlin season 1 - Part 1 안드로이드 시작하기

2016년 유데미 Kotlin 강의를 공개합니다.

영상 : https://www.youtube.com/watch?v=G9bmCrRrWvU

2회 분은 유데미에서 확인 가능합니다.
http://bit.ly/2UpaJUR

TaeHwan

September 28, 2016
Tweet

More Decks by TaeHwan

Other Decks in Education

Transcript

  1. Part 1 • Kotlin উ٘۽੉٘ द੘ೞӝ • উ٘۽੉٘ झౚ٣য়ীࢲ ௏ౣܽ

    ࢎਊೞӝ • Javaীࢲ ௏ౣܽਵ۽ Convert ೞӝ • Convert ੉റ ௏٘ ࢓ಝࠁӝ 2 ରࣁ؀ উ٘۽੉٘ ѐߊ ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  2. Android Studio - Install Kotlin Plugin 3 ରࣁ؀ উ٘۽੉٘ ѐߊ

    ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  3. Android Studio - Install Kotlin Plugin 4 ରࣁ؀ উ٘۽੉٘ ѐߊ

    ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  4. दো • Kotlin ೒۞Ӓੋ ࢸ஖ • Kotlin ೒۞Ӓੋ ੸ਊ(Dependencies) 5

    ରࣁ؀ উ٘۽੉٘ ѐߊ ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  5. Convert Kotlin • Mac : command + shift + a

    • Windows/Linux : ctrl + shift + a 7 ରࣁ؀ উ٘۽੉٘ ѐߊ ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  6. dependencies ࢓ಝࠁӝ buildscript { ext.kotlin_version = '1.0.4' dependencies { //

    ... classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // ... } } 8 ରࣁ؀ উ٘۽੉٘ ѐߊ ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  7. dependencies ࢓ಝࠁӝ apply plugin: 'kotlin-android' dependencies { // ... compile

    "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" } 9 ରࣁ؀ উ٘۽੉٘ ѐߊ ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  8. dependencies ࢓ಝࠁӝ • ௏ౣܽ ௏٘ܳ ਤೠ ߹ب੄ source ҃۽ ૑

    ੿ оמ android { sourceSets { main.java.srcDirs += 'src/main/kotlin' } } 10 ରࣁ؀ উ٘۽੉٘ ѐߊ ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  9. दো • Java ௏٘৬ Kotlin ࠺Ү • ࢜۽਍ Kotlin ౵ੌ

    ࢤࢿ 11 ରࣁ؀ উ٘۽੉٘ ѐߊ ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016
  10. Etc • য়ט੄ ъ੄ח ׮਺੄ ࠶۽Ӓী ୶о ੿ܻغয ੓णפ׮. •

    Android Kotlin द੘ೞӝ 12 ରࣁ؀ উ٘۽੉٘ ѐߊ ঱য ௏ౣܽ, द੘ೞӝ thdev.tech, 2016