All Stories

Kotlin - no_image

StateFlow and SharedFlowStateFlow and SharedFlow are Flow APIs that enable flows to optimally emit state updates and emit values to multiple consumers.

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

JvmStatic and JvmField annotations

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

JvmOverloads annotationInstructs the Kotlin compiler to generate overloads for this function that substitute default parameter values.

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - flow_entities

FlowIn coroutines, a flow is a type that can emit multiple values sequentially, as opposed to suspend functions that return only a single value. For example, you can use a flow to rec...

In tutorial, flow_entities, kotlin, Jan 23, 2025

Kotlin - no_image

Coroutine JobConceptually, a Job is a cancellable thing with a lifecycle that culminates in its completion. For every coroutine that is created, a Job instance is returned to uniquely...

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

ChannelsDeferred values provide a convenient way to transfer a single value between coroutines. Channels provide a way to transfer a stream of values. Channel is a non-blocking primit...

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

Any, Nothing, Unit

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

CoroutinesA coroutine is a concurrency design pattern that you can use on Android to simplify code that executes asynchronously. Coroutines were added to Kotlin in version 1.3 and are...

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - visibility_modifiers

Visibility modifiers

In tutorial, visibility_modifiers, kotlin, Jan 23, 2025

Kotlin - scope_function

Scope functionsThe Kotlin standard library contains several functions whose sole purpose is to execute a block of code within the context of an object. When you call such a function o...

In tutorial, scope_function, kotlin, Jan 23, 2025