Package-level declarations
Types
Android-specific implementation of the Boomerang interface that uses Android's Bundle for storage.
Android-specific implementation of BoomerangLogger that uses Android's Log utility.
A functional interface for catching and processing Boomerang values from a BoomerangStore. Implementations of this interface determine whether a Boomerang value should be "caught" (processed and removed).
Configuration object for the Boomerang library.
Android-specific implementation of the BoomerangFactory.
Factory for creating platform-specific Boomerang instances.
Desktop-specific implementation of the BoomerangFactory.
iOS-specific implementation of the BoomerangFactory.
Interface for logging operations within the Boomerang library.
Interface for a key-value store that stores navigation results as Boomerang objects. This store is used to pass data between different parts of the application.
Interface for a component that hosts a BoomerangStore. This interface is typically implemented by Activities or other lifecycle-aware components that need to provide a BoomerangStore to their children Fragments. Implementation of this interface is required for Fragments and mixed navigation result to work. In order to create instance and save instance state of DefaultBoomerangStore check createOrRestoreDefaultBoomerangStore and saveDefaultBoomerangStoreState in fragment module. Example implementation
Default implementation of the BoomerangStore interface. Uses a private mutable map to store key-value pairs.
A platform-agnostic implementation of the Boomerang interface that uses a MutableMap for storage.
Functions
Asserts that the lifecycle event is valid for catching a boomerang. Valid events are ON_START and ON_RESUME.
Android-specific implementation of boomerangOf that adds support for Parcelable, Serializable, and Bundle types.
Creates a new Boomerang instance with the provided key-value pairs.
Desktop-specific implementation of boomerangOf.
iOS-specific implementation of boomerangOf.
Creates a new Boomerang instance and configures it using the provided builder function.
Creates a new empty Boomerang instance.
Creates a BoomerangCatcher specifically for handling event notifications. This catcher checks if the Boomerang contains an event with the specified key and calls the provided callback when the event is caught.
Retrieves a Java Serializable object from the Boomerang with the given key.
Retrieves a Parcelable object from the Boomerang with the given key.
Stores a Java Serializable object in the Boomerang with the given key.
Stores a Parcelable object in the Boomerang with the given key.
Stores an Android Bundle in a BoomerangStore with the given key.
Extension function for BoomerangStore that allows storing a value using a builder function. This is a convenient way to create and store a Boomerang in a single expression.
Converts an Android Bundle to an AndroidBoomerang.