SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
Développement Android avec le langage Kotlin
macha@CHILLCODING.com
Macha
DA COSTA Site Web
Email
" Introduction à Kotlin
 I/O $ 17-19 Mai 2017
6
% Officialisation du langage Kotlin
" Introduction à Kotlin
 Pourquoi Kotlin ?
7
" ♥+ =
" Introduction à Kotlin
 Pourquoi Kotlin ?
8
 JVM  JVM
( .java
 JVM  JVM
) Le concept de Java
" Introduction à Kotlin
 Pourquoi Kotlin ?
9
) L’histoire de Java
* +
$ 1995 $ 2009
,
"
$ 2015
" Introduction à Kotlin
 Kotlin ≈ Swift
10
 iOS : Objective-C vers Swift
$ WWDC 2014
" Introduction à Kotlin
. Kotlin de JetBrains
11
" Introduction à Kotlin
. Historique
12
$ 2010 $ 02/2016 $ 11/2017
/
Kotlin
1.0
/
Kotlin
1.2
/
Lancem
ent
Projet
/
" Introduction à Kotlin
. Concept de Kotlin
13
/ Compilé en bytecode Java
*.kt *.java
*.class
*.dex
" Introduction à Kotlin
♥ Android et Kotlin
14
/ Cohabitation Java & Kotlin
Code Java
Code Kotlin
" Introduction à Kotlin
♥ Android et Kotlin
15
/ Conversion automatique
.java : Ctrl C 1 .kt : Ctrl V
‘Code’ > ‘Convert Java File to Kotlin File’
(Command + Option + Shift + K)
" Introduction à Kotlin
. Kotlin en bref
16
/ Langage clair et concis
; 1 2
getter/setter
Log.i(TAG, "my width is $mWidth”)
Boilerplate 1 Lambdas
/ Affranchissement du NullPointerException
/ Programmation orientée objet et fonctionnelle
" Développement avec Kotlin
A. Classe
B. Variables, Opérateurs, Conditions
C. Programmation fonctionnelle
D. Bibliothèque Anko
17
/ Déclaration
/ Propriété
/ Objet compagnon
/ Fonction
/ Qualificatifs
/ Héritage
A. Classe
/ Déclaration
/ Nullité sécurisée
/ Différents types
/ Opérateurs
/ Conditions
/ Boucle
B. Variables, Opérateurs, Conditions
/ Fonction d’extension
/ Lambdas
/ Inline
/ Initialisation tardive
/ Initialisation avec une classe déléguée
C. Programmation fonctionnelle
D. Bibliothèque Anko
/ Made in Jetbrains
/ Console
/ Message Utilisateur
Conclusion
. POO
. Fonctionnelle
" Anko
" Fonctions d’extensions pour Android
" Extensions sur éléments graphique XML
" Revisite de développements classiques Android
Merci !
! macha@chillcoding.com
7 @MachaDaCosta
8 ChillCoding
9 @ILoveKotlin
Des questions ?
Kotlin pour Android
en test sur
Sources
# Kotlin pour Android
• TRY Kotlin
• Kotlin Slides and Questions
• https://antonioleiva.com/free-kotlin-android-course/
• https://www.chillcoding.com/blog/2017/10/03/ajouter-extensions-kotlin/
• https://www.chillcoding.com/blog/2017/09/28/configurer-kotlin-projet-android/
# Bibliothèque Anko
• https://github.com/kotlin/anko
• https://www.kotlindevelopment.com/why-should-use-anko/
• https://antonioleiva.com/dialogs-android-anko-kotlin/
• AK 4 : Utiliser-anko-kotlin-android
# Fonction d’extension
• Les fonctions d'extension de Kotlin
• http://tutos-android-france.com/introduction-a-kotlin/
• Vidéo de Jake Wharton sur Kotlin (DEC 2015)
• Vidéo de Huyen Tue Dao & Christina Lee sur The Road to Kotlintown (KotlinConf 2017)
Sources
# Pourquoi Kotlin ?
• Apple : la fin d’Objective-C au profit de SWIFT ?
• Swift is like Kotlin
• Langage Java
• API Java : Google a enfreint les brevets d’Oracle, selon la Cour Suprême
• Antonioleiva: 12 reasons to strat Kotlin for Android
• ChillCoding : Introduction à Kotlin
# Kotlin en bref
• Kotlin: pourquoi ce nouveau langage est une bonne nouvelle
• Introduction to Kotlin Google I/O '17
• Kotlin it's the little things
• Android Development with Kotlin
# Android et Kotlin
• Android Studio 3.0 Canary
• Kotlin - Official Site
• developer.android: Get Started with Kotlin on Android
Sources
# Type Kotlin
• https://code.tutsplus.com/tutorials/kotlin-from-scratch-variables-basic-types-arrays-type-inference-
and-comments--cms-29328
• https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html
• http://kotlinlang.org/docs/reference/basic-types.html#arrays
•
IF YOU THINK
YOU ARE TOO
SMALL
TO MAKE A
DIFFERENCE
TRY SLEEPING
WITH A MOSQUITO.
_ African Proverb

Contenu connexe

Similaire à Développement Android avec le langage Kotlin

Alphorm.com Formation Kotlin : Notions Avancées
Alphorm.com Formation Kotlin : Notions AvancéesAlphorm.com Formation Kotlin : Notions Avancées
Alphorm.com Formation Kotlin : Notions AvancéesAlphorm
 
Paris Container Day 2016 : Cloudunit v2 (Treeptik)
Paris Container Day 2016 : Cloudunit v2 (Treeptik)Paris Container Day 2016 : Cloudunit v2 (Treeptik)
Paris Container Day 2016 : Cloudunit v2 (Treeptik)Publicis Sapient Engineering
 
Paris Web 2015 - Atelier desendettement javascript
Paris Web 2015 - Atelier desendettement javascriptParis Web 2015 - Atelier desendettement javascript
Paris Web 2015 - Atelier desendettement javascriptMichael Akbaraly
 
Wygday 2011 - Introduction à HTML5
Wygday 2011 - Introduction à HTML5Wygday 2011 - Introduction à HTML5
Wygday 2011 - Introduction à HTML5wyggio
 
Panorama des solutions mobile hybrides
Panorama des solutions mobile hybridesPanorama des solutions mobile hybrides
Panorama des solutions mobile hybridesekino
 
Gtug2 Mobile app with web technlogy
Gtug2 Mobile app with web technlogyGtug2 Mobile app with web technlogy
Gtug2 Mobile app with web technlogySacha Leprêtre
 
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et Mobile
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et MobileNouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et Mobile
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et MobileIppon
 
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et mobilité
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et mobilitéNouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et mobilité
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et mobilitéJulien Dubois
 
Tech Conf n°1 - Développement natif d'applications mobiles
Tech Conf n°1 - Développement natif d'applications mobilesTech Conf n°1 - Développement natif d'applications mobiles
Tech Conf n°1 - Développement natif d'applications mobilesMichael Laguerre
 
Conférence Titanium + Alloy au JUG Montpellier
Conférence Titanium + Alloy au JUG MontpellierConférence Titanium + Alloy au JUG Montpellier
Conférence Titanium + Alloy au JUG MontpellierDamien Laureaux
 
Paris Web 2015 - Atelier désendettement Javascript legacy
Paris Web 2015 - Atelier désendettement Javascript legacyParis Web 2015 - Atelier désendettement Javascript legacy
Paris Web 2015 - Atelier désendettement Javascript legacyFrançois Petitit
 
meetup - Workflow complet de CI/CD pour les geeks avec gitlab et kubernetes
meetup - Workflow complet de CI/CD pour les geeks avec gitlab et kubernetesmeetup - Workflow complet de CI/CD pour les geeks avec gitlab et kubernetes
meetup - Workflow complet de CI/CD pour les geeks avec gitlab et kubernetesFrederic Leger
 
Au coeur du framework .net 4.5.1
Au coeur du framework .net 4.5.1Au coeur du framework .net 4.5.1
Au coeur du framework .net 4.5.1Cellenza
 
Devoxx France 2015 - Développement web en 2015
Devoxx France 2015 - Développement web en 2015Devoxx France 2015 - Développement web en 2015
Devoxx France 2015 - Développement web en 2015Romain Linsolas
 
Demarrer ionic en 5 etape
Demarrer ionic en 5 etapeDemarrer ionic en 5 etape
Demarrer ionic en 5 etapeZaïd BOUDAMOUZ
 
Agile Tour Nantes 2011 - Jean philippe gouigoux - architecture et agilité, ré...
Agile Tour Nantes 2011 - Jean philippe gouigoux - architecture et agilité, ré...Agile Tour Nantes 2011 - Jean philippe gouigoux - architecture et agilité, ré...
Agile Tour Nantes 2011 - Jean philippe gouigoux - architecture et agilité, ré...Association Agile Nantes
 
.NET Core - Mug In Clermont
.NET Core - Mug In Clermont.NET Core - Mug In Clermont
.NET Core - Mug In ClermontThomas BAILLY
 
Titanium, write in java script, run native everywhere
Titanium, write in java script, run native everywhereTitanium, write in java script, run native everywhere
Titanium, write in java script, run native everywhereAyoub Zamouchi
 

Similaire à Développement Android avec le langage Kotlin (20)

Alphorm.com Formation Kotlin : Notions Avancées
Alphorm.com Formation Kotlin : Notions AvancéesAlphorm.com Formation Kotlin : Notions Avancées
Alphorm.com Formation Kotlin : Notions Avancées
 
Paris Container Day 2016 : Cloudunit v2 (Treeptik)
Paris Container Day 2016 : Cloudunit v2 (Treeptik)Paris Container Day 2016 : Cloudunit v2 (Treeptik)
Paris Container Day 2016 : Cloudunit v2 (Treeptik)
 
Paris Web 2015 - Atelier desendettement javascript
Paris Web 2015 - Atelier desendettement javascriptParis Web 2015 - Atelier desendettement javascript
Paris Web 2015 - Atelier desendettement javascript
 
Développement web mobile avec IONIC 2
Développement web mobile avec IONIC 2Développement web mobile avec IONIC 2
Développement web mobile avec IONIC 2
 
Wygday 2011 - Introduction à HTML5
Wygday 2011 - Introduction à HTML5Wygday 2011 - Introduction à HTML5
Wygday 2011 - Introduction à HTML5
 
Panorama des solutions mobile hybrides
Panorama des solutions mobile hybridesPanorama des solutions mobile hybrides
Panorama des solutions mobile hybrides
 
Gtug2 Mobile app with web technlogy
Gtug2 Mobile app with web technlogyGtug2 Mobile app with web technlogy
Gtug2 Mobile app with web technlogy
 
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et Mobile
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et MobileNouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et Mobile
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et Mobile
 
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et mobilité
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et mobilitéNouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et mobilité
Nouveau look pour une nouvelle vie : HTML5, Spring, NoSQL et mobilité
 
Tech Conf n°1 - Développement natif d'applications mobiles
Tech Conf n°1 - Développement natif d'applications mobilesTech Conf n°1 - Développement natif d'applications mobiles
Tech Conf n°1 - Développement natif d'applications mobiles
 
Conférence Titanium + Alloy au JUG Montpellier
Conférence Titanium + Alloy au JUG MontpellierConférence Titanium + Alloy au JUG Montpellier
Conférence Titanium + Alloy au JUG Montpellier
 
Paris Web 2015 - Atelier désendettement Javascript legacy
Paris Web 2015 - Atelier désendettement Javascript legacyParis Web 2015 - Atelier désendettement Javascript legacy
Paris Web 2015 - Atelier désendettement Javascript legacy
 
meetup - Workflow complet de CI/CD pour les geeks avec gitlab et kubernetes
meetup - Workflow complet de CI/CD pour les geeks avec gitlab et kubernetesmeetup - Workflow complet de CI/CD pour les geeks avec gitlab et kubernetes
meetup - Workflow complet de CI/CD pour les geeks avec gitlab et kubernetes
 
Au coeur du framework .net 4.5.1
Au coeur du framework .net 4.5.1Au coeur du framework .net 4.5.1
Au coeur du framework .net 4.5.1
 
Devoxx France 2015 - Développement web en 2015
Devoxx France 2015 - Développement web en 2015Devoxx France 2015 - Développement web en 2015
Devoxx France 2015 - Développement web en 2015
 
Microservice LabsZoom.pptx.pdf
Microservice LabsZoom.pptx.pdfMicroservice LabsZoom.pptx.pdf
Microservice LabsZoom.pptx.pdf
 
Demarrer ionic en 5 etape
Demarrer ionic en 5 etapeDemarrer ionic en 5 etape
Demarrer ionic en 5 etape
 
Agile Tour Nantes 2011 - Jean philippe gouigoux - architecture et agilité, ré...
Agile Tour Nantes 2011 - Jean philippe gouigoux - architecture et agilité, ré...Agile Tour Nantes 2011 - Jean philippe gouigoux - architecture et agilité, ré...
Agile Tour Nantes 2011 - Jean philippe gouigoux - architecture et agilité, ré...
 
.NET Core - Mug In Clermont
.NET Core - Mug In Clermont.NET Core - Mug In Clermont
.NET Core - Mug In Clermont
 
Titanium, write in java script, run native everywhere
Titanium, write in java script, run native everywhereTitanium, write in java script, run native everywhere
Titanium, write in java script, run native everywhere
 

Dernier

presentation l'interactionnisme symbolique finale.pptx
presentation l'interactionnisme symbolique  finale.pptxpresentation l'interactionnisme symbolique  finale.pptx
presentation l'interactionnisme symbolique finale.pptxMalikaIdseaid1
 
gestion des conflits dans les entreprises
gestion des  conflits dans les entreprisesgestion des  conflits dans les entreprises
gestion des conflits dans les entreprisesMajdaKtiri2
 
A3iFormations, organisme de formations certifié qualiopi.
A3iFormations, organisme de formations certifié qualiopi.A3iFormations, organisme de formations certifié qualiopi.
A3iFormations, organisme de formations certifié qualiopi.Franck Apolis
 
Mécanique Automobile LE TURBOCOMPRESSEUR.ppt
Mécanique Automobile LE TURBOCOMPRESSEUR.pptMécanique Automobile LE TURBOCOMPRESSEUR.ppt
Mécanique Automobile LE TURBOCOMPRESSEUR.pptssusercbaa22
 
Sidonie au Japon . pptx Un film français
Sidonie    au   Japon  .  pptx  Un film françaisSidonie    au   Japon  .  pptx  Un film français
Sidonie au Japon . pptx Un film françaisTxaruka
 
SUPPORT DE SUR COURS_GOUVERNANCE_SI_M2.pptx
SUPPORT DE SUR COURS_GOUVERNANCE_SI_M2.pptxSUPPORT DE SUR COURS_GOUVERNANCE_SI_M2.pptx
SUPPORT DE SUR COURS_GOUVERNANCE_SI_M2.pptxssuserbd075f
 
666148532-Formation-Habilitation-ELECTRIQUE-ENTREPRISE-MARS-2017.pptx
666148532-Formation-Habilitation-ELECTRIQUE-ENTREPRISE-MARS-2017.pptx666148532-Formation-Habilitation-ELECTRIQUE-ENTREPRISE-MARS-2017.pptx
666148532-Formation-Habilitation-ELECTRIQUE-ENTREPRISE-MARS-2017.pptxSAID MASHATE
 
MaintenanceLa Maintenance Corrective.ppt
MaintenanceLa Maintenance Corrective.pptMaintenanceLa Maintenance Corrective.ppt
MaintenanceLa Maintenance Corrective.pptssusercbaa22
 
Approche-des-risques-par-l’analyse-des-accidents-1.pptx
Approche-des-risques-par-l’analyse-des-accidents-1.pptxApproche-des-risques-par-l’analyse-des-accidents-1.pptx
Approche-des-risques-par-l’analyse-des-accidents-1.pptxssusercbaa22
 
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfCOURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfabatanebureau
 
Bolero. pptx . Film de A nnne Fontaine
Bolero. pptx . Film   de  A nnne FontaineBolero. pptx . Film   de  A nnne Fontaine
Bolero. pptx . Film de A nnne FontaineTxaruka
 
Cours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfCours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfachrafbrahimi1
 
Boléro. pptx Film français réalisé par une femme.
Boléro.  pptx   Film   français   réalisé  par une  femme.Boléro.  pptx   Film   français   réalisé  par une  femme.
Boléro. pptx Film français réalisé par une femme.Txaruka
 
Formation M2i - Intelligence Artificielle Comment booster votre productivité ...
Formation M2i - Intelligence Artificielle Comment booster votre productivité ...Formation M2i - Intelligence Artificielle Comment booster votre productivité ...
Formation M2i - Intelligence Artificielle Comment booster votre productivité ...M2i Formation
 
La nouvelle femme . pptx Film français
La   nouvelle   femme  . pptx  Film françaisLa   nouvelle   femme  . pptx  Film français
La nouvelle femme . pptx Film françaisTxaruka
 

Dernier (16)

presentation l'interactionnisme symbolique finale.pptx
presentation l'interactionnisme symbolique  finale.pptxpresentation l'interactionnisme symbolique  finale.pptx
presentation l'interactionnisme symbolique finale.pptx
 
gestion des conflits dans les entreprises
gestion des  conflits dans les entreprisesgestion des  conflits dans les entreprises
gestion des conflits dans les entreprises
 
A3iFormations, organisme de formations certifié qualiopi.
A3iFormations, organisme de formations certifié qualiopi.A3iFormations, organisme de formations certifié qualiopi.
A3iFormations, organisme de formations certifié qualiopi.
 
Mécanique Automobile LE TURBOCOMPRESSEUR.ppt
Mécanique Automobile LE TURBOCOMPRESSEUR.pptMécanique Automobile LE TURBOCOMPRESSEUR.ppt
Mécanique Automobile LE TURBOCOMPRESSEUR.ppt
 
Sidonie au Japon . pptx Un film français
Sidonie    au   Japon  .  pptx  Un film françaisSidonie    au   Japon  .  pptx  Un film français
Sidonie au Japon . pptx Un film français
 
Evaluación Alumnos de Ecole Victor Hugo
Evaluación Alumnos de Ecole  Victor HugoEvaluación Alumnos de Ecole  Victor Hugo
Evaluación Alumnos de Ecole Victor Hugo
 
SUPPORT DE SUR COURS_GOUVERNANCE_SI_M2.pptx
SUPPORT DE SUR COURS_GOUVERNANCE_SI_M2.pptxSUPPORT DE SUR COURS_GOUVERNANCE_SI_M2.pptx
SUPPORT DE SUR COURS_GOUVERNANCE_SI_M2.pptx
 
666148532-Formation-Habilitation-ELECTRIQUE-ENTREPRISE-MARS-2017.pptx
666148532-Formation-Habilitation-ELECTRIQUE-ENTREPRISE-MARS-2017.pptx666148532-Formation-Habilitation-ELECTRIQUE-ENTREPRISE-MARS-2017.pptx
666148532-Formation-Habilitation-ELECTRIQUE-ENTREPRISE-MARS-2017.pptx
 
MaintenanceLa Maintenance Corrective.ppt
MaintenanceLa Maintenance Corrective.pptMaintenanceLa Maintenance Corrective.ppt
MaintenanceLa Maintenance Corrective.ppt
 
Approche-des-risques-par-l’analyse-des-accidents-1.pptx
Approche-des-risques-par-l’analyse-des-accidents-1.pptxApproche-des-risques-par-l’analyse-des-accidents-1.pptx
Approche-des-risques-par-l’analyse-des-accidents-1.pptx
 
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfCOURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
 
Bolero. pptx . Film de A nnne Fontaine
Bolero. pptx . Film   de  A nnne FontaineBolero. pptx . Film   de  A nnne Fontaine
Bolero. pptx . Film de A nnne Fontaine
 
Cours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfCours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdf
 
Boléro. pptx Film français réalisé par une femme.
Boléro.  pptx   Film   français   réalisé  par une  femme.Boléro.  pptx   Film   français   réalisé  par une  femme.
Boléro. pptx Film français réalisé par une femme.
 
Formation M2i - Intelligence Artificielle Comment booster votre productivité ...
Formation M2i - Intelligence Artificielle Comment booster votre productivité ...Formation M2i - Intelligence Artificielle Comment booster votre productivité ...
Formation M2i - Intelligence Artificielle Comment booster votre productivité ...
 
La nouvelle femme . pptx Film français
La   nouvelle   femme  . pptx  Film françaisLa   nouvelle   femme  . pptx  Film français
La nouvelle femme . pptx Film français
 

Développement Android avec le langage Kotlin

  • 1. Développement Android avec le langage Kotlin macha@CHILLCODING.com Macha DA COSTA Site Web Email
  • 2. " Introduction à Kotlin  I/O $ 17-19 Mai 2017 6 % Officialisation du langage Kotlin
  • 3. " Introduction à Kotlin  Pourquoi Kotlin ? 7 " ♥+ =
  • 4. " Introduction à Kotlin  Pourquoi Kotlin ? 8  JVM  JVM ( .java  JVM  JVM ) Le concept de Java
  • 5. " Introduction à Kotlin  Pourquoi Kotlin ? 9 ) L’histoire de Java * + $ 1995 $ 2009 , " $ 2015
  • 6. " Introduction à Kotlin  Kotlin ≈ Swift 10  iOS : Objective-C vers Swift $ WWDC 2014
  • 7. " Introduction à Kotlin . Kotlin de JetBrains 11
  • 8. " Introduction à Kotlin . Historique 12 $ 2010 $ 02/2016 $ 11/2017 / Kotlin 1.0 / Kotlin 1.2 / Lancem ent Projet /
  • 9. " Introduction à Kotlin . Concept de Kotlin 13 / Compilé en bytecode Java *.kt *.java *.class *.dex
  • 10. " Introduction à Kotlin ♥ Android et Kotlin 14 / Cohabitation Java & Kotlin Code Java Code Kotlin
  • 11. " Introduction à Kotlin ♥ Android et Kotlin 15 / Conversion automatique .java : Ctrl C 1 .kt : Ctrl V ‘Code’ > ‘Convert Java File to Kotlin File’ (Command + Option + Shift + K)
  • 12. " Introduction à Kotlin . Kotlin en bref 16 / Langage clair et concis ; 1 2 getter/setter Log.i(TAG, "my width is $mWidth”) Boilerplate 1 Lambdas / Affranchissement du NullPointerException / Programmation orientée objet et fonctionnelle
  • 13. " Développement avec Kotlin A. Classe B. Variables, Opérateurs, Conditions C. Programmation fonctionnelle D. Bibliothèque Anko 17
  • 14. / Déclaration / Propriété / Objet compagnon / Fonction / Qualificatifs / Héritage A. Classe
  • 15. / Déclaration / Nullité sécurisée / Différents types / Opérateurs / Conditions / Boucle B. Variables, Opérateurs, Conditions
  • 16. / Fonction d’extension / Lambdas / Inline / Initialisation tardive / Initialisation avec une classe déléguée C. Programmation fonctionnelle
  • 17. D. Bibliothèque Anko / Made in Jetbrains / Console / Message Utilisateur
  • 18. Conclusion . POO . Fonctionnelle " Anko " Fonctions d’extensions pour Android " Extensions sur éléments graphique XML " Revisite de développements classiques Android
  • 19. Merci ! ! macha@chillcoding.com 7 @MachaDaCosta 8 ChillCoding 9 @ILoveKotlin Des questions ? Kotlin pour Android en test sur
  • 20. Sources # Kotlin pour Android • TRY Kotlin • Kotlin Slides and Questions • https://antonioleiva.com/free-kotlin-android-course/ • https://www.chillcoding.com/blog/2017/10/03/ajouter-extensions-kotlin/ • https://www.chillcoding.com/blog/2017/09/28/configurer-kotlin-projet-android/ # Bibliothèque Anko • https://github.com/kotlin/anko • https://www.kotlindevelopment.com/why-should-use-anko/ • https://antonioleiva.com/dialogs-android-anko-kotlin/ • AK 4 : Utiliser-anko-kotlin-android # Fonction d’extension • Les fonctions d'extension de Kotlin • http://tutos-android-france.com/introduction-a-kotlin/ • Vidéo de Jake Wharton sur Kotlin (DEC 2015) • Vidéo de Huyen Tue Dao & Christina Lee sur The Road to Kotlintown (KotlinConf 2017)
  • 21. Sources # Pourquoi Kotlin ? • Apple : la fin d’Objective-C au profit de SWIFT ? • Swift is like Kotlin • Langage Java • API Java : Google a enfreint les brevets d’Oracle, selon la Cour Suprême • Antonioleiva: 12 reasons to strat Kotlin for Android • ChillCoding : Introduction à Kotlin # Kotlin en bref • Kotlin: pourquoi ce nouveau langage est une bonne nouvelle • Introduction to Kotlin Google I/O '17 • Kotlin it's the little things • Android Development with Kotlin # Android et Kotlin • Android Studio 3.0 Canary • Kotlin - Official Site • developer.android: Get Started with Kotlin on Android
  • 22. Sources # Type Kotlin • https://code.tutsplus.com/tutorials/kotlin-from-scratch-variables-basic-types-arrays-type-inference- and-comments--cms-29328 • https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html • http://kotlinlang.org/docs/reference/basic-types.html#arrays •
  • 23. IF YOU THINK YOU ARE TOO SMALL TO MAKE A DIFFERENCE TRY SLEEPING WITH A MOSQUITO. _ African Proverb