SlideShare a Scribd company logo
1 of 29
Android With Kotlin course
Mohyddine Al-lahham
Application Developer |
Ex- Software Engineer at
CME Lebanon.
Tiktok and Youtube
@lebanese Developer
Introduction | 9:00 pm Beirut time
Eslam Medhat
Application Developer
| Trainer
@BambooGeeks
@madahetooo
The reason Android rules the app market is its ability to
run on more devices than its competitors. Manufacturers
that make devices supporting Android apps outnumber
those developing to suit iOS specific apps. The simple
reason being that an Android device will be used by more
number of people, owing to the ‘affordability’ part. Thus,
Android application development proved to be the wiser
and a more profitable option.
Why Android Development?
Why is Android development Kotlin-first?
● Expressive and concise: You can do more with less. Express your ideas and reduce
the amount of boilerplate code. 67% of professional developers who use Kotlin say
Kotlin has increased their productivity.
● Safer code: Kotlin has many language features to help you avoid common
programming mistakes such as null pointer exceptions. Android apps that contain
Kotlin code are 20% less likely to crash.
● Interoperable: Call Java-based code from Kotlin, or call Kotlin from Java-based
code. Kotlin is 100% interoperable with the Java programming language, so you
can have as little or as much of Kotlin in your project as you want.
● Structured Concurrency: Kotlin coroutines make asynchronous code as easy to
work with as blocking code. Coroutines dramatically simplify background task
management for everything from network calls to accessing local data.
From Android Website: What does Kotlin-first mean?
When building new Android
development tools and content,
such as Jetpack libraries,
samples, documentation, and
training content, we will design
them with Kotlin users in mind
while continuing to provide
support for using our APIs from
the Java programming
language.
1. Introduction to Kotlin programming language.
2. Object oriented programming with kotlin.
Our Learning Plan For Sep-Oct 2021
- Kotlin is a general-purpose, statically typed, and open-source
programming language.
- It runs on JVM and can be used anywhere Java is used today. It
can be used to develop Android apps, server-side apps and much
more...
- Similar to Java, but free of its legacy problems and limitations.
- Can be freely mixed with Java (6+), existing codebase, ecosystem
(Maven, Gradle), libraries etc.
- Easy learning curve (similar to Java/C#/JS), modern & fun!
Kotlin History
- In July 2011 JetBrains unveiled Project Kotlin, a new language for
the JVM, which had been under development for a year.
- Kotlin v1.0 was released on February 15, 2016.
- This is considered to be the first officially stable release and
JetBrains has committed to long-term backward compatibility
starting with this version.
- At Google I/O 2017, Google announced first-class support for
Kotlin on Android.
How Java and Kotlin Works!
Reasons to love Kotlin
1. Concise
2. Null safety
3. Interoperable
4. Smart Cast
5. Compilation Time
6. Tool-friendly
7. Extension Function
8. Multiple Items in File
9. Open Source
Concise
Kotlin reduces the amount of boilerplate code
that you have been
writing all the time in other OOP languages
like Java.
• For example, You can create a POJO class
with getters,
setters, equals() and toString() methods in a
single line.
Kotlin Basic Syntax
1. Variables
2. Data Types
3. Conditions (If, Else – When)
4. Loops (For – While – Do While)
5. Functions
6. Classes
7. Properties
val
- Read-only local variables are defined using the keyword val. They
can be assigned a value only once.
- Variables that can be assigned using the var keyword.
var
Numerical Data Types
String Data Type
String Data Type
List Data Type
Conditions
Condition (When)
Loops ( For & While & Do while
Simple Function
Very Simple Function
Very Very Simple Function
Null Safety
Kotlin is null safety language. Kotlin aimed to eliminate the
NullPointerException (null reference) from the code.Interoperable.
Smart Cast
- It explicitly typecasts the immutable values and inserts the value in
It's safe to cast automatically.
- Being explicit means being specific about your design choices and not hiding anything from the readers
or consumers of your code.
KOTLIN IS FAST

More Related Content

What's hot

What's hot (20)

Introduction to Koltin for Android Part I
Introduction to Koltin for Android Part I Introduction to Koltin for Android Part I
Introduction to Koltin for Android Part I
 
Introduction to kotlin for android app development gdg ahmedabad dev fest 2017
Introduction to kotlin for android app development   gdg ahmedabad dev fest 2017Introduction to kotlin for android app development   gdg ahmedabad dev fest 2017
Introduction to kotlin for android app development gdg ahmedabad dev fest 2017
 
Introduction to Android Develpment
Introduction to Android DevelpmentIntroduction to Android Develpment
Introduction to Android Develpment
 
Introduction to Kotlin for Android developers
Introduction to Kotlin for Android developersIntroduction to Kotlin for Android developers
Introduction to Kotlin for Android developers
 
Introduction to kotlin
Introduction to kotlinIntroduction to kotlin
Introduction to kotlin
 
Android Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndroid Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - Introduction
 
Android Development with Kotlin course
Android Development  with Kotlin courseAndroid Development  with Kotlin course
Android Development with Kotlin course
 
Kotlin on android
Kotlin on androidKotlin on android
Kotlin on android
 
Introduction to kotlin and OOP in Kotlin
Introduction to kotlin and OOP in KotlinIntroduction to kotlin and OOP in Kotlin
Introduction to kotlin and OOP in Kotlin
 
Introduction to Kotlin
Introduction to KotlinIntroduction to Kotlin
Introduction to Kotlin
 
Kotlin vs Java | Edureka
Kotlin vs Java | EdurekaKotlin vs Java | Edureka
Kotlin vs Java | Edureka
 
Kotlin Coroutines and Android sitting in a tree
Kotlin Coroutines and Android sitting in a treeKotlin Coroutines and Android sitting in a tree
Kotlin Coroutines and Android sitting in a tree
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
Introduction to Kotlin - Android KTX
Introduction to Kotlin - Android KTXIntroduction to Kotlin - Android KTX
Introduction to Kotlin - Android KTX
 
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...
 
Introduction to Kotlin Language and its application to Android platform
Introduction to Kotlin Language and its application to Android platformIntroduction to Kotlin Language and its application to Android platform
Introduction to Kotlin Language and its application to Android platform
 
Introduction to flutter's basic concepts
Introduction to flutter's basic conceptsIntroduction to flutter's basic concepts
Introduction to flutter's basic concepts
 
Kotlin Basics & Introduction to Jetpack Compose.pptx
Kotlin Basics & Introduction to Jetpack Compose.pptxKotlin Basics & Introduction to Jetpack Compose.pptx
Kotlin Basics & Introduction to Jetpack Compose.pptx
 
Intro to Flutter SDK
Intro to Flutter SDKIntro to Flutter SDK
Intro to Flutter SDK
 
Java vs kotlin
Java vs kotlin Java vs kotlin
Java vs kotlin
 

Similar to Android with kotlin course

A Review Paper on Kotlin Programming Language
A Review Paper on Kotlin Programming LanguageA Review Paper on Kotlin Programming Language
A Review Paper on Kotlin Programming Language
ijtsrd
 

Similar to Android with kotlin course (20)

Why Use Kotlin for Android App Development-Here’s a Guide.pdf
Why Use Kotlin for Android App Development-Here’s a Guide.pdfWhy Use Kotlin for Android App Development-Here’s a Guide.pdf
Why Use Kotlin for Android App Development-Here’s a Guide.pdf
 
Learn Kotlin and Build Robust Android Apps with Bcoder.pdf
Learn Kotlin and Build Robust Android Apps with Bcoder.pdfLearn Kotlin and Build Robust Android Apps with Bcoder.pdf
Learn Kotlin and Build Robust Android Apps with Bcoder.pdf
 
A Review Paper on Kotlin Programming Language
A Review Paper on Kotlin Programming LanguageA Review Paper on Kotlin Programming Language
A Review Paper on Kotlin Programming Language
 
Why You Should Go with Kotlin for Android App Development.pdf
Why You Should Go with Kotlin for Android App Development.pdfWhy You Should Go with Kotlin for Android App Development.pdf
Why You Should Go with Kotlin for Android App Development.pdf
 
Kotlin vs Java: Which is Better for Android App Development?
Kotlin vs Java: Which is Better for Android App Development?Kotlin vs Java: Which is Better for Android App Development?
Kotlin vs Java: Which is Better for Android App Development?
 
Kotlin App Development Tips.pdf
Kotlin App Development Tips.pdfKotlin App Development Tips.pdf
Kotlin App Development Tips.pdf
 
What is Kotlin.pdf
What is Kotlin.pdfWhat is Kotlin.pdf
What is Kotlin.pdf
 
Kotlin - A Beginner’s Guide__________________
Kotlin - A Beginner’s Guide__________________Kotlin - A Beginner’s Guide__________________
Kotlin - A Beginner’s Guide__________________
 
Why to Choose Kotlin in 2023 to Build Mobile Apps Faster?
Why to Choose Kotlin in 2023 to Build Mobile Apps Faster?Why to Choose Kotlin in 2023 to Build Mobile Apps Faster?
Why to Choose Kotlin in 2023 to Build Mobile Apps Faster?
 
Kotlin for Android
Kotlin for AndroidKotlin for Android
Kotlin for Android
 
Is kotlin better option for android app development
Is kotlin better option for android app development Is kotlin better option for android app development
Is kotlin better option for android app development
 
Android with Kotlin Course - SkillIQ.pdf
Android with Kotlin Course - SkillIQ.pdfAndroid with Kotlin Course - SkillIQ.pdf
Android with Kotlin Course - SkillIQ.pdf
 
Kotlin vs Java: Choosing The Right Language
Kotlin vs Java: Choosing The Right LanguageKotlin vs Java: Choosing The Right Language
Kotlin vs Java: Choosing The Right Language
 
Kotlin for android development
Kotlin for android developmentKotlin for android development
Kotlin for android development
 
8 Reasons to Pick Kotlin Over Java for Android Development.pptx
8 Reasons to Pick Kotlin Over Java for Android Development.pptx8 Reasons to Pick Kotlin Over Java for Android Development.pptx
8 Reasons to Pick Kotlin Over Java for Android Development.pptx
 
Kotlin Vs Java A Comparison For Application Development Projects.pdf
Kotlin Vs Java A Comparison For Application Development Projects.pdfKotlin Vs Java A Comparison For Application Development Projects.pdf
Kotlin Vs Java A Comparison For Application Development Projects.pdf
 
Kotlin vs Java- Finding The All-Time Favorite Fit!
Kotlin vs Java- Finding The All-Time Favorite Fit!Kotlin vs Java- Finding The All-Time Favorite Fit!
Kotlin vs Java- Finding The All-Time Favorite Fit!
 
KOTLIN VS. JAVA WHICH ONE IS BEST FOR ANDROID DEVELOPMENT.pptx
KOTLIN VS. JAVA WHICH ONE IS BEST FOR ANDROID DEVELOPMENT.pptxKOTLIN VS. JAVA WHICH ONE IS BEST FOR ANDROID DEVELOPMENT.pptx
KOTLIN VS. JAVA WHICH ONE IS BEST FOR ANDROID DEVELOPMENT.pptx
 
MOOC_PRESENTATION_KOTLIN[1].pptx
MOOC_PRESENTATION_KOTLIN[1].pptxMOOC_PRESENTATION_KOTLIN[1].pptx
MOOC_PRESENTATION_KOTLIN[1].pptx
 
moocs_ppt.pptx
moocs_ppt.pptxmoocs_ppt.pptx
moocs_ppt.pptx
 

More from Abdul Rahman Masri Attal (7)

Node js crash course session 6
Node js crash course   session 6Node js crash course   session 6
Node js crash course session 6
 
Node js crash course session 5
Node js crash course   session 5Node js crash course   session 5
Node js crash course session 5
 
Node js crash course session 3
Node js crash course   session 3Node js crash course   session 3
Node js crash course session 3
 
Oop in kotlin
Oop in kotlinOop in kotlin
Oop in kotlin
 
Node js crash course session 2
Node js crash course   session 2Node js crash course   session 2
Node js crash course session 2
 
Node js crash course session 1
Node js crash course   session 1Node js crash course   session 1
Node js crash course session 1
 
Copy of 2021 solution challenge info session presentation
Copy of 2021 solution challenge  info session presentationCopy of 2021 solution challenge  info session presentation
Copy of 2021 solution challenge info session presentation
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Android with kotlin course

  • 1. Android With Kotlin course Mohyddine Al-lahham Application Developer | Ex- Software Engineer at CME Lebanon. Tiktok and Youtube @lebanese Developer Introduction | 9:00 pm Beirut time Eslam Medhat Application Developer | Trainer @BambooGeeks @madahetooo
  • 2. The reason Android rules the app market is its ability to run on more devices than its competitors. Manufacturers that make devices supporting Android apps outnumber those developing to suit iOS specific apps. The simple reason being that an Android device will be used by more number of people, owing to the ‘affordability’ part. Thus, Android application development proved to be the wiser and a more profitable option. Why Android Development?
  • 3. Why is Android development Kotlin-first? ● Expressive and concise: You can do more with less. Express your ideas and reduce the amount of boilerplate code. 67% of professional developers who use Kotlin say Kotlin has increased their productivity. ● Safer code: Kotlin has many language features to help you avoid common programming mistakes such as null pointer exceptions. Android apps that contain Kotlin code are 20% less likely to crash. ● Interoperable: Call Java-based code from Kotlin, or call Kotlin from Java-based code. Kotlin is 100% interoperable with the Java programming language, so you can have as little or as much of Kotlin in your project as you want. ● Structured Concurrency: Kotlin coroutines make asynchronous code as easy to work with as blocking code. Coroutines dramatically simplify background task management for everything from network calls to accessing local data.
  • 4. From Android Website: What does Kotlin-first mean? When building new Android development tools and content, such as Jetpack libraries, samples, documentation, and training content, we will design them with Kotlin users in mind while continuing to provide support for using our APIs from the Java programming language.
  • 5. 1. Introduction to Kotlin programming language. 2. Object oriented programming with kotlin. Our Learning Plan For Sep-Oct 2021
  • 6.
  • 7. - Kotlin is a general-purpose, statically typed, and open-source programming language. - It runs on JVM and can be used anywhere Java is used today. It can be used to develop Android apps, server-side apps and much more... - Similar to Java, but free of its legacy problems and limitations. - Can be freely mixed with Java (6+), existing codebase, ecosystem (Maven, Gradle), libraries etc. - Easy learning curve (similar to Java/C#/JS), modern & fun!
  • 8. Kotlin History - In July 2011 JetBrains unveiled Project Kotlin, a new language for the JVM, which had been under development for a year. - Kotlin v1.0 was released on February 15, 2016. - This is considered to be the first officially stable release and JetBrains has committed to long-term backward compatibility starting with this version. - At Google I/O 2017, Google announced first-class support for Kotlin on Android.
  • 9. How Java and Kotlin Works!
  • 10. Reasons to love Kotlin 1. Concise 2. Null safety 3. Interoperable 4. Smart Cast 5. Compilation Time 6. Tool-friendly 7. Extension Function 8. Multiple Items in File 9. Open Source
  • 11. Concise Kotlin reduces the amount of boilerplate code that you have been writing all the time in other OOP languages like Java. • For example, You can create a POJO class with getters, setters, equals() and toString() methods in a single line.
  • 12.
  • 13.
  • 14. Kotlin Basic Syntax 1. Variables 2. Data Types 3. Conditions (If, Else – When) 4. Loops (For – While – Do While) 5. Functions 6. Classes 7. Properties
  • 15. val - Read-only local variables are defined using the keyword val. They can be assigned a value only once. - Variables that can be assigned using the var keyword.
  • 16. var
  • 23. Loops ( For & While & Do while
  • 26. Very Very Simple Function
  • 27. Null Safety Kotlin is null safety language. Kotlin aimed to eliminate the NullPointerException (null reference) from the code.Interoperable.
  • 28. Smart Cast - It explicitly typecasts the immutable values and inserts the value in It's safe to cast automatically. - Being explicit means being specific about your design choices and not hiding anything from the readers or consumers of your code.