Package-level declarations

Types

Functions

Link copied to clipboard
inline fun <T : Any> AppCompatActivity.getOrPutAndRemoveOnDestroyFromCache(crossinline onCreate: (T) -> Unit = {}, crossinline onDestroy: (T) -> Unit = {}, defaultValue: () -> T): T

Lifecycle aware caching on the activity level