BoomerangFactory

actual object BoomerangFactory(source)

Android-specific implementation of the BoomerangFactory.

Creates AndroidBoomerang instances that use Android's Bundle for storage.

expect object BoomerangFactory(source)

Factory for creating platform-specific Boomerang instances.

This is an expect declaration implemented differently on each platform:

  • On Android, it creates an AndroidBoomerang backed by a Bundle

  • On iOS and Desktop, it creates a MapBoomerang backed by a MutableMap

actual object BoomerangFactory(source)

Desktop-specific implementation of the BoomerangFactory.

Creates MapBoomerang instances that use a MutableMap for storage.

actual object BoomerangFactory(source)

iOS-specific implementation of the BoomerangFactory.

Creates MapBoomerang instances that use a MutableMap for storage.

Functions

Link copied to clipboard
actual fun create(): Boomerang

Creates a new AndroidBoomerang instance.

expect fun create(): Boomerang

Creates a new platform-specific Boomerang instance.

actual fun create(): Boomerang

Creates a new MapBoomerang instance.

actual fun create(): Boomerang

Creates a new MapBoomerang instance.