000 11785nam a22005173i 4500
001 EBC5254604
003 MiAaPQ
005 20240729131739.0
006 m o d |
007 cr cnu||||||||
008 240724s2018 xx o ||||0 eng d
020 _a9781788475211
_q(electronic bk.)
020 _z9781788472142
035 _a(MiAaPQ)EBC5254604
035 _a(Au-PeEL)EBL5254604
035 _a(CaPaEBR)ebr11505156
035 _a(OCoLC)1022784245
040 _aMiAaPQ
_beng
_erda
_epn
_cMiAaPQ
_dMiAaPQ
050 4 _aQA76.76.A65 .R69 2018
082 0 _a005.1
100 1 _aShekhar Roy, Aanand.
245 1 0 _aKotlin Programming Cookbook :
_bExplore More Than 100 Recipes That Show How to Build Robust Mobile and Web Applications with Kotlin, Spring Boot, and Android.
250 _a1st ed.
264 1 _aBirmingham :
_bPackt Publishing, Limited,
_c2018.
264 4 _c©2018.
300 _a1 online resource (423 pages)
336 _atext
_btxt
_2rdacontent
337 _acomputer
_bc
_2rdamedia
338 _aonline resource
_bcr
_2rdacarrier
505 0 _aCover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Installation and Working with Environment -- Introduction -- Creating Kotlin Android project -- Getting ready -- How to do it... -- There's more... -- How to use Gradle to run Kotlin code -- Getting ready -- How to do it... -- There's more... -- See also -- How to run a Kotlin compiled class -- Getting ready -- How to do it... -- How it works... -- There's more... -- How to build a self-executable JAR with Gradle and Kotlin -- Getting ready -- How to do it... -- How it works... -- Reading console input in Kotlin -- Getting ready -- How to do it... -- How it works... -- Converting Java code to Kotlin and vice versa -- Getting ready -- How to do it... -- How it works... -- How to write an idiomatic logger in Kotlin -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Escaping for Java identifiers that are keywords in Kotlin -- Getting ready -- How to do it... -- How it works... -- Disambiguating using the "as" keyword to locally rename the clashing entity -- Getting ready -- How to do it... -- Doing bit manipulations in Kotlin -- Getting ready -- How to do it... -- Or -- and -- xor -- inv -- shl -- shr -- ushr -- How it works... -- Parsing String to Long, Double, or Int -- Getting ready -- How to do it... -- Converting String to Long -- Converting string to Long using string.toLongOrNull() -- Converting with special radix -- Parsing string to Long with special radix -- How it works... -- There's more... -- Using String templates in Kotlin -- How to do it... -- How it works... -- There's more... -- Chapter 2: Control Flow -- Introduction -- Assigning result to an expression using the if keyword -- Getting ready -- How to do it... -- There's more... -- Using range with the when expression.
505 8 _aGetting ready -- How to do it... -- How it works... -- There's more... -- Using when with custom objects -- Getting ready -- How to do it... -- How it works... -- Using try-catch as an expression -- Getting ready -- How to do it... -- How it works... -- There's more... -- How to write a swap function in Kotlin using the also function -- Getting ready -- How to do it... -- How it works... -- There's more... -- How to throw a custom exception in Kotlin -- Getting ready -- How to do it... -- How it works... -- How to make a multiconditional loop in Kotlin -- Getting ready -- How to do it... -- How it works... -- Chapter 3: Classes and Objects -- Introduction -- Initializing body of constructor -- Getting ready -- How to do it... -- Converting one data type into another -- Getting ready -- How to do it... -- How it works... -- How to type check an object -- Getting ready -- How to do it... -- How it works... -- There's more... -- How to work with an abstract class in Kotlin -- Getting ready -- How to do it... -- How it works... -- How to iterate over a class's properties in Kotlin -- Getting ready -- How to do it... -- How it works... -- There's more... -- How to work with inline properties -- Getting ready -- How to do it... -- How it works... -- How to work with nested class -- Getting ready -- How to do it... -- How it works... -- There's more... -- Getting class in Kotlin -- How to do it... -- There's more... -- Working with delegated properties -- Getting ready -- How to do it... -- There's more... -- Working with enums -- Getting ready -- How to do it... -- There's more... -- Chapter 4: Functions -- Introduction -- Specifying default values in functions -- Getting ready -- How to do it... -- There's more... -- Using named arguments in functions -- Getting ready -- How to do it... -- Creating the RecyclerView Adapter in Kotlin -- Getting ready.
505 8 _aHow to do it... -- How it works... -- There's more... -- Creating getter setters in Kotlin -- Getting ready -- How to do it... -- There's more... -- Passing variable arguments to a function -- Getting ready -- How to do it... -- How it works... -- There's more... -- Passing a function as a parameter to another -- Getting ready -- How to do it... -- How it works... -- Declaring a static function -- Getting ready -- How to do it... -- Using the use keyword in Kotlin -- Getting ready -- How to do it... -- How it works... -- Working with closures -- Getting ready -- How to do it... -- There's more... -- Function literals with receivers -- Getting ready -- How to do it... -- Working with anonymous functions -- Getting ready -- How to do it... -- Chapter 5: Object-Oriented Programming -- Introduction -- Working with interfaces in Kotlin -- Getting ready -- How to do it… -- There's more… -- How to implement complicated interfaces with multiple overridden methods in Kotlin -- Getting ready -- How to do it… -- How to extend a class in Kotlin (Inheritance and Extension functions) -- Getting ready -- How to do it… -- Extension functions -- How it works… -- There's more… -- How to work with Generics in Kotlin -- Getting ready -- How to do it… -- There's more… -- How to implement polymorphism in Kotlin -- Getting ready -- How to do it… -- Restricting class hierarchies -- Getting ready -- How to do it… -- How it works… -- There's more… -- Chapter 6: Collections Framework -- Introduction -- How to merge two collections -- Getting ready -- How to do it… -- Splitting original collection into pair of collections -- Getting ready -- How to do it… -- How it works… -- There's more… -- Sorting a list by specified comparator -- Getting ready -- How to do it… -- How it works… -- Sorting in descending order -- Getting ready -- How to do it… -- How it works….
505 8 _aParsing a JSON response using Gson -- Getting ready -- How to do it… -- There's more… -- How to filter and map using lambda expressions -- Getting ready -- How to do it… -- How to sort a list of objects and keep null objects at the end -- Getting ready -- How to do it… -- How it works… -- How to implement a lazy list in Kotlin -- Getting ready -- How to do it… -- How it works… -- How to pad a string in Kotlin -- Getting ready -- How to do it… -- How it works… -- How to flatten an array or map -- Getting ready -- How to do it… -- How it works… -- How to sort collection by multiple fields in Kotlin -- Getting ready -- How to do it… -- How it works… -- How to use limit in Kotlin list -- Getting ready -- How to do it… -- How to create a 2D array in Kotlin -- Getting ready -- How to do it… -- There's more… -- How to skip the first "n" entries in Kotlin -- Getting ready -- How to do it… -- How it works… -- Chapter 7: Handling File Operations in Kotlin -- Introduction -- Reading from files using InputReader -- Getting ready -- How to do it… -- How it works… -- There's more… -- Reading all lines in a file using InputReader -- Getting ready -- How to do it… -- How it works… -- Reading line by line using InputReader -- Getting ready -- How to do it… -- How it works… -- Reading from files using BufferedReader -- Getting ready -- How to do it… -- How it works… -- Reading all lines in a file using BufferedReader -- Getting ready -- How to do it… -- How it works… -- Reading line by line using bufferedReader -- Getting ready -- How to do it… -- How it works… -- There's more… -- Reading string and JSON over network -- Getting ready -- How to do it… -- How it works… -- Chapter 8: Anko Commons and Extension Function -- Introduction -- Setting up Anko with Gradle -- Getting ready -- How to do it… -- Extending Android framework using extension function -- Getting ready.
505 8 _aHow to do it… -- How it works… -- There's more… -- Using extensions as properties -- Getting ready -- How to do it… -- How it works… -- There's more… -- Using intents with Anko -- Getting ready -- How to do it… -- How it works… -- Making a call intent using Anko -- Getting ready -- How to do it… -- How it works… -- Sending a text intent using Anko -- Getting ready -- How to do it… -- How it works… -- Browsing the web browser using Anko -- Getting ready -- How to do it… -- How it works… -- Sharing some text using intents in Anko -- Getting ready -- How to do it… -- How it works… -- Sending an email using Anko -- Getting ready -- How to do it… -- How it works… -- Creating Android dialogs with Anko -- Getting ready -- How to do it… -- Showing an alert dialog with a list of text items -- Getting ready -- How to do it… -- How it works… -- Using Anko in Views -- Getting ready -- How to do it… -- Logging using Anko -- Getting ready -- How to do it… -- Handling dimensions with Anko -- Getting ready -- How to do it… -- Version checking on Android -- Getting ready -- How to do it… -- How it works… -- Chapter 9: Anko Layouts -- Introduction -- Setting up Anko library for Anko layouts in Gradle -- Getting ready -- How to do it… -- How it works… -- There's more… -- Creating user-interface programmatically -- Getting ready -- How to do it… -- How it works… -- Working with the old code of XML layouts -- Getting ready -- How to do it… -- How it works… -- There's more… -- Using the provided AnkoComponent interface -- Getting ready -- How to do it… -- How it works… -- There's more… -- Setting theme for Android views in Anko -- Getting ready -- How to do it… -- Setting layout parameters for Anko views -- Getting ready -- How to do it… -- How it works… -- Adding listeners to Anko views -- Getting ready -- How to do it… -- How it works… -- There's more….
505 8 _aInserting XML layouts into DSL.
520 _aThe Android team has announced first-class support for Kotlin. This acts as an added boost to the language and more and more developers are now looking into Kotlin for their application development.This recipe based book will be your guide to get a firm hold on the Kotlin Programming language.
588 _aDescription based on publisher supplied metadata and other sources.
590 _aElectronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2024. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
650 0 _aApplication software-Development.
650 0 _aMobile apps-Development.
655 4 _aElectronic books.
700 1 _aKaranpuria, Rashi.
776 0 8 _iPrint version:
_aShekhar Roy, Aanand
_tKotlin Programming Cookbook
_dBirmingham : Packt Publishing, Limited,c2018
_z9781788472142
797 2 _aProQuest (Firm)
856 4 0 _uhttps://ebookcentral.proquest.com/lib/orpp/detail.action?docID=5254604
_zClick to View
999 _c135662
_d135662