Skip to content

This code lab contains examples for testing Kotlin language, you can try different scenarios and check the results. We believe that this way will help you understand the code more than just reading, and it will reduce the learning curve. To do it, open reference to the Kotlin language and try it in this code lab.

Notifications You must be signed in to change notification settings

nontravis/kotlin-android-codelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

「 Kotlin Android code lab 」

alt text

[TH] kotlin codelab blog

[EN] kotlin codelab blog [comming soon]

「 Usage 」

git clone https://github.com/TheKhaeng/kotlin-android-codelab.git

open this project and run :)

「 Code lab 」

This code lab contains examples for testing Kotlin language, you can try different scenarios and check the results. We believe that this way will help you understand the code more than just reading, and it will reduce the learning curve. To do it, open reference to the Kotlin language and try it in this code lab.

lecture

「 Lecture 」

So this codelab we follow the doc reference at kotlinlang.org/docs/reference/

lecture

The class represents the lecture topic, there are two main parts in each class:

  1. Lecture section: a sample code for each lecture.
  2. Try section: there's example code in this section already, you can modify and play with it result message will be displayed in logcat.

lecture

The button will replace the class or lecture

when you push the button it will take the message in function

fun setupLogcatMessage(): String {
   ...
}

to show in your logcat

lecture

Licence

Copyright 2017 TheKhaeng

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Developed By Thai android developer.

alt text

Follow facebook.com/thekhaeng.io on Facebook page. or @nonthawit at my Medium blog. :)

For contact, shoot me an email at [email protected]

About

This code lab contains examples for testing Kotlin language, you can try different scenarios and check the results. We believe that this way will help you understand the code more than just reading, and it will reduce the learning curve. To do it, open reference to the Kotlin language and try it in this code lab.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages