Kotlinlang · Resources
Resources listings from Kotlinlang on TechiSeek. 159 public listings.
- Compose compiler options DSL (Kotlinlang)Compose compiler options DSL The Compose compiler Gradle plugin offers a DSL for various compiler options.
- Delegated properties (Kotlinlang)Delegated properties With some common kinds of properties, even though you can implement them manually every time you need them, it is more…
- Use JavaScript code from Kotlin (Kotlinlang)Use Java Script code from Kotlin Kotlin was first designed for easy interoperation with the Java platform: it sees Java classes as Kotlin c…
- Inline functions (Kotlinlang)Inline functions Using higher-order functions imposes certain runtime penalties: each function is an object, and it captures a closure.
- Annotations | Kotlin (Kotlinlang)Annotations Annotations are tags that you can use to attach metadata to elements in your code.
- Compatibility guide for Kotlin 1.4.x | Kotlin (Kotlinlang)Compatibility guide for Kotlin 1.4.x Keeping the Language Modern and Comfortable Updates are among the fundamental principles in Kotlin Lan…
- JavaScript modules (Kotlinlang)Java Script modules You can compile your Kotlin projects to Java Script modules for various popular module systems.
- Functions | Kotlin (Kotlinlang)Functions To declare a function in Kotlin: - Use the fun keyword. - Specify the parameters in parentheses () .
- Introduction (Kotlinlang)Dokka is an API documentation engine for Kotlin. Just like Kotlin itself, Dokka supports mixed-language projects.
- Compatibility guide for Kotlin 1.3.x | Kotlin (Kotlinlang)Compatibility guide for Kotlin 1.3.x Keeping the Language Modern and Comfortable Updates are among the fundamental principles in Kotlin Lan…
- Dynamic type (Kotlinlang)Dynamic type Being a statically typed language, Kotlin still has to interoperate with untyped or loosely typed environments, such as the Ja…
- Coroutine exceptions handling (Kotlinlang)This section covers exception handling and cancellation on exceptions. We already know that a cancelled coroutine throws Cancellation Excep…
- Module documentation (Kotlinlang)Module documentation Documentation for a subproject as a whole, as well as packages in that subproject, can be provided as separate Markdow…
- Compatibility guide for Kotlin 1.9.x | Kotlin (Kotlinlang)Compatibility guide for Kotlin 1.9.x Keeping the Language Modern and Comfortable Updates are among the fundamental principles in Kotlin Lan…
- Compiler execution strategy (Kotlinlang)Compiler execution strategy The Kotlin compiler execution strategy defines where the Kotlin compiler runs.
- Retrieve collection parts (Kotlinlang)Retrieve collection parts The Kotlin standard library contains extension functions for retrieving parts of a collection.
- Kotlin/Native FAQ (Kotlinlang)Kotlin/Native FAQ How do I run my program? Define a top-level function fun main(args: Array) or just fun main() if you are not interested i…
- Strings | Kotlin (Kotlinlang)Strings The String type represents a sequence of characters. You can use it for text values, such as words, sentences, messages, or structu…
- Accessibility (Kotlinlang)Accessibility Compose Multiplatform provides features essential for meeting accessibility standards, such as semantic properties, accessibi…
- JSON elements (Kotlinlang)JSON elements Kotlin serialization also supports working with JSON at a structural level. You can use the Json Element API to inspect, modi…
- Navigation and routing (Kotlinlang)Navigation is a key part of UI applications that allows users to move between different application screens.
- Compose UI previews (Kotlinlang)Compose UI previews You can create preview composables to see your UI rendered in the IDE (IntelliJ IDEA and Android Studio) without runnin…
- LOCAL_VARIABLE (Kotlinlang)Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal o…
- Sequences | Kotlin (Kotlinlang)Sequences Along with collections, the Kotlin standard library contains another type – sequences (Sequence).
- Definition file (Kotlinlang)Definition file Kotlin/Native enables you to consume C and Objective-C libraries, allowing you to use their functionality in Kotlin.
- Share code between platforms (Kotlinlang)Share code between platforms With Kotlin Multiplatform, you can share the code using the mechanisms Kotlin provides: - Share code among all…
- PROPERTY_SETTER (Kotlinlang)Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal o…
- ANNOTATION_CLASS (Kotlinlang)Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal o…
- SAM-with-receiver compiler plugin (Kotlinlang)SAM-with-receiver compiler plugin The sam-with-receiver compiler plugin makes the first parameter of the annotated Java "single abstract me…
- Native application entry points (Kotlinlang)Native application entry points While Compose Multiplatform UI can be implemented in common code entirely, actual applications start from n…
- Opt-in requirements (Kotlinlang)Opt-in requirements The Kotlin standard library provides a mechanism for requiring and giving explicit consent to use certain API elements.
- Compatibility and versions (Kotlinlang)Compatibility and versions Compose Multiplatform releases ship separately from Kotlin and Jetpack Compose releases.
- Keyboard events (Kotlinlang)In Compose Multiplatform for desktop, you can manage keyboard events by setting up event handlers in two different scopes: Event handlers b…
- Transform JSON structure (Kotlinlang)To control the structure and content of the JSON generated during serialization, you can create custom serializers.
- Multiplatform Gradle DSL reference (Kotlinlang)The Kotlin Multiplatform Gradle plugin is a tool for creating Kotlin Multiplatform projects.
- Keywords and operators (Kotlinlang)Keywords and operators Hard keywords The following tokens are always interpreted as keywords and cannot be used as identifiers: - as - is u…
- Context menus (Kotlinlang)Compose Multiplatform for desktop provides out-of-the-box support for text context menus and allows you to conveniently tailor any context…
- Returns and jumps (Kotlinlang)Returns and jumps Kotlin has three structural jump expressions: - return by default returns from the nearest enclosing function or anonymou…
- Serialize classes (Kotlinlang)The @Serializable annotation enables the default serialization of all class properties with backing fields.
- Source set hierarchy (Kotlinlang)Source set hierarchy Kotlin Multiplatform projects support hierarchical source set structures.
- Incremental processing (Kotlinlang)Incremental processing KSP supports incremental processing: KSP reprocesses a file only when one or more of its dependencies change.
- Integration with the SwiftUI framework (Kotlinlang)Compose Multiplatform is interoperable with the SwiftUI framework. You can embed Compose Multiplatform within a SwiftUI application as well…
- Integration with Swift/Objective-C ARC (Kotlinlang)Integration with Swift/Objective-C ARC Kotlin and Objective-C use different memory management strategies.
- Running KSP from the command line (Kotlinlang)Most projects use KSP through the Gradle plugin, which runs KSP automatically during compilation.
- List-specific operations (Kotlinlang)List-specific operations List is the most popular type of built-in collection in Kotlin. Index access to the elements of lists provides a p…
- Serialize JSON with I/O sources (Kotlinlang)Kotlin serialization provides APIs for working with JVM streams and kotlinx-io or Okio sources and sinks.
- Map-specific operations (Kotlinlang)Map-specific operations In maps, types of both keys and values are user-defined. Key-based access to map entries enables various map-specif…
- Serialize built-in types (Kotlinlang)Serialize built-in types Kotlin serialization supports a variety of built-in types, including basic types such as primitives and strings, a…
- Build final native binaries (Kotlinlang)By default, a Kotlin/Native target is compiled down to a *.klib library artifact, which can be consumed by Kotlin/Native itself as a depend…
- This expressions (Kotlinlang)This expressions The this expression refers to the current receiver (the object with which the function works).