Package-level declarations
Functions
Extension function for Fragment that sets up a lifecycle observer to catch a boomerang value when a specific lifecycle event occurs. This function should be called in the Fragment's onCreate method to not multiply the observers. The observer will try to catch the value when the specified lifecycle event occurs and will remove itself when the fragment is destroyed. Example usage
Extension function for Fragment that sets up a lifecycle observer to catch a boomerang value when a specific lifecycle event occurs. This is an inline version that accepts a lambda function instead of a BoomerangCatcher. This function should be called in the Fragment's onCreate method to not multiply the observers. Example usage
Extension function for Fragment that simplifies catching event notifications from the BoomerangStore. This is a specialized version of catchBoomerangWithLifecycleEvent specifically for handling simple event notifications without additional data.
Extension function for BoomerangStoreHost that creates a new DefaultBoomerangStore or restores one from a saved state. This function is typically called in a lifecycle-aware component's onCreate method (f.e. Activity) to initialize or restore the DefaultBoomerangStore. Example usage
Extension function for Fragment that finds a BoomerangStore by looking for a BoomerangStoreHost in the Fragment's activity. This function is used to access the BoomerangStore from a Fragment. Example usage
Extension function for BoomerangStoreHost that saves the state of a DefaultBoomerangStore to a Bundle. This function is typically called in a lifecycle-aware component's onSaveInstanceState method (f.e. Activity) to save the DefaultBoomerangStore's state. Example usage