skip to content
Android Development with Kotlin. Preview this item
ClosePreview this item
Checking...

Android Development with Kotlin.

Author: Marcin Moskala; Igor Wojda
Publisher: Birmingham : Packt Publishing, 2017.
Edition/Format:   eBook : Document : EnglishView all editions and formats
Summary:
Chapter 5: Functions as First-Class Citizens; Function type; What is function type under the hood?; Anonymous functions; Lambda expressions; Implicit name of a single parameter; Higher-order functions; Providing operations to functions; Observer (Listener) pattern; Callback after a threaded operation; Combination of named arguments and lambda expressions; Last lambda in argument convention; Named code surrounding;  Read more...
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

Find a copy online

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Additional Physical Format: Print version:
Moskala, Marcin.
Android Development with Kotlin.
Birmingham : Packt Publishing, ©2017
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Marcin Moskala; Igor Wojda
ISBN: 9781787128989 1787128989
OCLC Number: 1003260370
Notes: Underscore for unused variables.
Description: 1 online resource (435 pages)
Contents: Cover; Copyrights; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Beginning Your Kotlin Adventure; Say hello to Kotlin; Awesome Kotlin examples; Dealing with Kotlin code; Kotlin Playground; Android Studio; Configuring Kotlin for the project; Using Kotlin in a new Android project; Java to Kotlin converter (J2K); Alternative ways to run Kotlin code; Kotlin under the hood; The Kotlin standard library; More reasons to use Kotlin; Summary; Chapter 2: Laying a Foundation; Variables; Type inference; Strict null safety. Safe callElvis operator; Not null assertion; Let; Nullability and Java; Casts; Safe/unsafe cast operator; Smart casts; Type smart casts; Non-nullable smart cast; Primitive data types; Numbers; Char; Arrays; The Boolean type; Composite data types; Strings; String templates; Ranges; Collections; Statements versus expressions; Control flow; The if statement; The when expression; Loops; The for loop; The while loop; Other iterations; Break and continue; Exceptions; The try ... catch block ; Compile-time constants; Delegates; Summary; Chapter 3: Playing with Functions. Basic function declaration and usagesParameters; Returning functions; Vararg parameter; Single-expression functions; Tail-recursive functions; Different ways of calling a function; Default arguments values; Named arguments syntax; Top-level functions; Top-level functions under the hood; Local functions; Nothing return type; Summary; Chapter 4: Classes and Objects; Classes; Class declaration; Properties; Read-write versus read-only property; Property access syntax between Kotlin and Java; Increment and decrement operators; Custom getters/setters; The getter versus property default value. Late-initialized propertiesAnnotating properties; Inline properties; Constructors; Property versus constructor parameter; Constructor with default arguments; Patterns; Inheritance; The JvmOverloads annotation; Interfaces; Data classes; The equals and hashCode method; The toString method; The copy method; Destructive declarations; Operator overloading; Object declaration; Object expression; Companion objects; Companion object instantiation; Enum classes; Infix calls for named methods; Visibility modifiers; Internal modifier and Java bytecode; Sealed classes; Nested classes; Import aliases.

Abstract:

Chapter 5: Functions as First-Class Citizens; Function type; What is function type under the hood?; Anonymous functions; Lambda expressions; Implicit name of a single parameter; Higher-order functions; Providing operations to functions; Observer (Listener) pattern; Callback after a threaded operation; Combination of named arguments and lambda expressions; Last lambda in argument convention; Named code surrounding; Processing data structures using LINQ style; Java SAM support in Kotlin; Named Kotlin function types; Named parameters in function type; Type alias.

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.
Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/1003260370> # Android Development with Kotlin.
    a schema:MediaObject, schema:Book, schema:CreativeWork ;
    library:oclcnum "1003260370" ;
    library:placeOfPublication <http://id.loc.gov/vocabulary/countries/enk> ;
    library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/4517444802#Place/birmingham> ; # Birmingham
    schema:about <http://dewey.info/class/005.2/e23/> ;
    schema:about <http://experiment.worldcat.org/entity/work/data/4517444802#Topic/mobile_computing> ; # Mobile computing
    schema:about <http://experiment.worldcat.org/entity/work/data/4517444802#Topic/application_software_development> ; # Application software--Development
    schema:about <http://experiment.worldcat.org/entity/work/data/4517444802#CreativeWork/android_electronic_resource> ; # Android (Electronic resource)
    schema:bookFormat schema:EBook ;
    schema:contributor <http://experiment.worldcat.org/entity/work/data/4517444802#Person/wojda_igor> ; # Igor Wojda
    schema:creator <http://experiment.worldcat.org/entity/work/data/4517444802#Person/moskala_marcin> ; # Marcin Moskala
    schema:datePublished "2017" ;
    schema:description "Chapter 5: Functions as First-Class Citizens; Function type; What is function type under the hood?; Anonymous functions; Lambda expressions; Implicit name of a single parameter; Higher-order functions; Providing operations to functions; Observer (Listener) pattern; Callback after a threaded operation; Combination of named arguments and lambda expressions; Last lambda in argument convention; Named code surrounding; Processing data structures using LINQ style; Java SAM support in Kotlin; Named Kotlin function types; Named parameters in function type; Type alias."@en ;
    schema:description "Cover; Copyrights; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Beginning Your Kotlin Adventure; Say hello to Kotlin; Awesome Kotlin examples; Dealing with Kotlin code; Kotlin Playground; Android Studio; Configuring Kotlin for the project; Using Kotlin in a new Android project; Java to Kotlin converter (J2K); Alternative ways to run Kotlin code; Kotlin under the hood; The Kotlin standard library; More reasons to use Kotlin; Summary; Chapter 2: Laying a Foundation; Variables; Type inference; Strict null safety."@en ;
    schema:exampleOfWork <http://worldcat.org/entity/work/id/4517444802> ;
    schema:genre "Electronic books"@en ;
    schema:inLanguage "en" ;
    schema:isSimilarTo <http://worldcat.org/entity/work/data/4517444802#CreativeWork/android_development_with_kotlin> ;
    schema:name "Android Development with Kotlin."@en ;
    schema:productID "1003260370" ;
    schema:publication <http://www.worldcat.org/title/-/oclc/1003260370#PublicationEvent/birmingham_packt_publishing_2017> ;
    schema:publisher <http://experiment.worldcat.org/entity/work/data/4517444802#Agent/packt_publishing> ; # Packt Publishing
    schema:url <http://public.ebookcentral.proquest.com/choice/publicfullrecord.aspx?p=5014585> ;
    schema:url <http://public.eblib.com/choice/publicfullrecord.aspx?p=5014585> ;
    schema:url <https://proquest.safaribooksonline.com/9781787123687> ;
    schema:url <http://www.vlebooks.com/vleweb/product/openreader?id=none&isbn=9781787128989> ;
    schema:url <https://ebookcentral.proquest.com/lib/liverpool/detail.action?docID=5014585> ;
    schema:url <http://www.myilibrary.com?id=1033009> ;
    schema:workExample <http://worldcat.org/isbn/9781787128989> ;
    wdrs:describedby <http://www.worldcat.org/title/-/oclc/1003260370> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/4517444802#Agent/packt_publishing> # Packt Publishing
    a bgn:Agent ;
    schema:name "Packt Publishing" ;
    .

<http://experiment.worldcat.org/entity/work/data/4517444802#CreativeWork/android_electronic_resource> # Android (Electronic resource)
    a schema:CreativeWork ;
    schema:name "Android (Electronic resource)" ;
    .

<http://experiment.worldcat.org/entity/work/data/4517444802#Person/moskala_marcin> # Marcin Moskala
    a schema:Person ;
    schema:familyName "Moskala" ;
    schema:givenName "Marcin" ;
    schema:name "Marcin Moskala" ;
    .

<http://experiment.worldcat.org/entity/work/data/4517444802#Person/wojda_igor> # Igor Wojda
    a schema:Person ;
    schema:familyName "Wojda" ;
    schema:givenName "Igor" ;
    schema:name "Igor Wojda" ;
    .

<http://experiment.worldcat.org/entity/work/data/4517444802#Topic/application_software_development> # Application software--Development
    a schema:Intangible ;
    schema:name "Application software--Development"@en ;
    .

<http://worldcat.org/entity/work/data/4517444802#CreativeWork/android_development_with_kotlin>
    a schema:CreativeWork ;
    rdfs:label "Android Development with Kotlin." ;
    schema:description "Print version:" ;
    schema:isSimilarTo <http://www.worldcat.org/oclc/1003260370> ; # Android Development with Kotlin.
    .

<http://worldcat.org/isbn/9781787128989>
    a schema:ProductModel ;
    schema:isbn "1787128989" ;
    schema:isbn "9781787128989" ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.