kotlin training

Want to know kotlin training? we have a huge selection of kotlin training information on alibabacloud.com

Customizing Android View with Kotlin (KAD 06)

Antonio LeivaTime:Dec,Original link:https://antonioleiva.com/custom-views-android-kotlin/As we read about class articles, you may remember that typically only one constructor is used. This is an issue for creating custom views.The Android framework wants to have multiple constructors that correspond to different create view locations and create view methods (through code, using XML, setting up themes, and so on) so that we cannot ignore this situation

Kotlin Minimalist Tutorial

Directory Introductory video tutorials for Kotlin minimalist tutorials Kotlin System entry to advanced Kotlin from getting started to abandoning Kotlin from zero to Advanced 1th Chapter Kotlin Introduction 2nd Chapter Quick Start: HelloWorld 2nd Chapter Quick Start: Springbo

Kotlin VS Java: Basic syntactic differences __android applications

Kotlin is younger than Java, but it is a very promising programming language and its community is growing. Everyone is talking about it and saying it's cool. But why so special.We have prepared a series of articles to share our experience in developing Android applications in Kotlin. We'll discuss the differences between Kotlin and Java in terms of syntax, usabil

Goodbye NullPointerException. Processing of null in Kotlin (KAD 19), kotlinnull

Goodbye NullPointerException. Processing of null in Kotlin (KAD 19), kotlinnull By Antonio Leiva Time: Apr 4, 2017 Link: https://antonioleiva.com/nullity-kotlin/ One of the most important parts of Kotlin: It took me a long time to write an article. The creator of Tony Hoare's "null" concept,Billions of errors". When writing Java code, null is the most error-p

Kotlin of the basic type automatic boxing

When you introduce the basic types in the official documentation for Kotlin, we are told that in some cases the base type is automatically boxed. However, the details of how to do the boxing, and when to do not provide a detailed description. Just provide an example, as follows: Val a:int = 10000 print (a = = = a)//prints ' true ' val boxeda:int? = a val anotherboxeda:int? = a print ( Boxeda = = Anotherboxeda)//!!! Prints ' false '!!!1 2 3 4 5 For the

expressions and declarations of Kotlin programming objects

Kotlin Programming related knowledge points : Kotlin programming using IntelliJ IED and understanding Source files (. kt) Kotlin programming and other properties Kotlin programming methods such as using Kotlin programming Kotlin p

Learn Kotlin 03-data Class

Data Class The data class is a special class in Kotlin, and its particularity is shown in the following aspects: The primary constructor of the data class requires at least one parameter; All parameters of the main constructor must be decorated with Val or var; The data class cannot be abstract, open, sealed, or internal, meaning that the data class can only be final; Before Kotlin 1.1, the data class coul

How does Kotlin use Android Dagger2 and kotlindagger2?

How does Kotlin use Android Dagger2 and kotlindagger2? By Antonio Leiva Time: Apr 11,201 7 Link: https://antonioleiva.com/dagger-android-kotlin/ On Android, almost everyone who creates decoupling and easily tests code will have to resort to Dagger sooner or later. Although there are some differences in setting Dagger in Kotlin, most of them are very simple an

Android app development with Kotlin (III): extended functions and default values, kotlinandroid

Android app development with Kotlin (III): extended functions and default values, kotlinandroid This is the third article about Kotlin. Original article title: Kotlin for Android (III): Extension functions and default values Link: http://antonioleiva.com/kotlin-android-extension-functions/ Antonio Leiva (http://antoni

Kotlin Learning (2) -- basic syntax function variables, string template conditional expressions, null, type detection, for, while, when, range, set, kotlinnull

Kotlin Learning (2) -- basic syntax function variables, string template conditional expressions, null, type detection, for, while, when, range, set, kotlinnull Author:Liu Ren programmer Blog:Http://blog.csdn.net/qq_26787115 Statement: Do not reprint without the permission of the original author 1. Basic syntax Many concepts of Kotlin are similar to those of JAVA, so I should not It's as detailed as my JA

Use Kotlin to function the view of ViewGroup

Original title: Functional operations over views in ViewGroup using KotlinOriginal link: http://antonioleiva.com/functional-operations-viewgroup-kotlin/Original Antonio Leiva (http://antonioleiva.com/about/)Published in the original: 2015-07-29Collections, iterations, arrays, sequences ... All of these share a useful set of functions that help transform, sort, and manipulate their elements . However, due to the way the class is constructed, some funct

Eclipse Install Kotlin Plugin

Kotlin as a newly-born language, incorporates many language features. Here's how to install the Kotlin plugin in eclipse to write the Kotlin programopen Eclipse(eclipse requires Neon 4.6. Version or higher). The author uses version 4.6.1. Choose Help--- Eclipse Marketplace ...650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/98/BC/wKioL1k_02vQ4f9NAAA8

Kotlin programming Visibility modifier (private,protected,internal,public)

Kotlin Programming related knowledge points : Kotlin programming using IntelliJ IED and understanding Source files (. kt) Kotlin programming and other properties Kotlin programming methods such as using Kotlin programming Kotlin p

Release Android Function Energy (I): Lambda expressions in the Kotlin language, kotlinlambda

Release Android Function Energy (I): Lambda expressions in the Kotlin language, kotlinlambda Original article title: Unleash functional power on Android (I): Kotlin lambdas Link: http://antonioleiva.com/operator-overloading-kotlin/ Antonio Leiva (http://antonioleiva.com/about) Original article published: Although Java 8 already contains some functional tools,

Kotlin Unit test on Android (KAD22)

Antonio LeivaTime:APROriginal link:https://antonioleiva.com/unit-tests-android-kotlin/of course, Kotlin and allows us to do unit testing in a very simple way. , it's very similar to our Java in the same way. when we use to Mockito Library When there are some small complications, however, we will see some tricks to make it easier. unit tests for KotlinAlthough the single test topic is always controversial

Kotlin Learning (2) -- basic syntax, function, variable, string template, conditional expression, null, type detection, for, while, when, interval, set, kotlinnull

Kotlin Learning (2) -- basic syntax, function, variable, string template, conditional expression, null, type detection, for, while, when, interval, set, kotlinnull1. Basic syntax Many concepts of Kotlin are similar to those of JAVA, so I should not be as detailed as I did on my JAVA journey, but don't worry, you will understand it, I also learned from official documents. Create a project Kotlin02 in IDEA1.

Rewrite the plaid APP in Kotlin language: Lessons Learned (II)

Original title: Converting Plaid to Kotlin:lessons learned (Part 2)Original link:http://antonioleiva.com/plaid-kotlin-2/Original Antonio Leiva (http://antonioleiva.com/about/)Published in the original: 2015-11-17The significant improvements that we see in the first section are attributed to the use of the Kotlin language in the activity. However, due to the fact that the main overloaded methods do something

Free Android's functional Energy (I): lambda expression for Kotlin language

Original title: Unleash Functional Power on Android (I): Kotlin lambdasOriginal link:http://antonioleiva.com/operator-overloading-kotlin/Original Antonio Leiva (http://antonioleiva.com/about/)Published in the original: 2015-08-05While Java 8 already contains some functional tools, and as you might imagine, Android developers are not able to use these tools immediately (and perhaps not at all), functional pr

Environment building under Kotlin Linux

Tags: ICA compile exp directory already check version today/etc/Kotlin is the future of the JVM world, whether you believe it or not, I believed it anyway!Well, if you're not confused, just follow me and learn, haha.A moment to downloadHttps://github.com/JetBrains/kotlin/releases/download/v1.1.51/kotlin-compiler-1.1.51.zipWget–no-check-certificate \Https://github

How to implement static methods similar to Java or C # in Kotlin

How to implement static methods like Java or C # in Kotlin, this paper summarizes several methods, including package-level functions, associated objects, extension functions, and object declarations. This requires people to choose according to different circumstances. You can find a lot of such articles on the Internet, the official recommendation is the package-level function, also some people say with the associated object (companion Class). These

Total Pages: 15 1 .... 5 6 7 8 9 .... 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.