paint-brush
Kotlin delegates in Android development — Part 1by@fabioCollini
10,766 reads
10,766 reads

Kotlin delegates in Android development — Part 1

by Fabio Collini6mJune 24th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Using some <a href="https://hackernoon.com/tagged/kotlin" target="_blank">Kotlin</a> features is easy to write clean and readable code. Thanks to data classes, properties, extension functions and delegates a Kotlin class is usually smaller and easier to read compared to the equivalent Java class. In this post we’ll see how to use Kotlin delegated properties to simplify <a href="https://hackernoon.com/tagged/android" target="_blank">Android</a> code. If you are not familiar with this subject you can take a look at the <a href="https://kotlinlang.org/docs/reference/delegated-properties.html" target="_blank">official documentation</a> or to <a href="https://proandroiddev.com/delegation-in-kotlin-e1efb849641" target="_blank">this post</a>.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Kotlin delegates in Android development — Part 1
Fabio Collini HackerNoon profile picture
Fabio Collini

Fabio Collini

@fabioCollini

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Github
Qiita
Wykop
Dzone
Android-arsenal
Awesomeopensource
Android-arsenal
Opensourceagenda
Androidhiro