diff --git a/buildSrc/src/main/java/com.chrynan.parcelable.buildSrc/LibraryConstants.kt b/buildSrc/src/main/java/com.chrynan.parcelable.buildSrc/LibraryConstants.kt index 6e9ec63..3696f69 100644 --- a/buildSrc/src/main/java/com.chrynan.parcelable.buildSrc/LibraryConstants.kt +++ b/buildSrc/src/main/java/com.chrynan.parcelable.buildSrc/LibraryConstants.kt @@ -5,8 +5,8 @@ object LibraryConstants { const val group = "com.chrynan.parcelable" const val owner = "chrynan" const val repoName = "parcelable" - const val versionName = "0.7.1" - const val versionCode = 12 + const val versionName = "0.8.0" + const val versionCode = 13 const val versionDescription = "Release $versionName ($versionCode)" const val license = "Apache-2.0" const val vcsUrl = "https://github.com/chRyNaN/pacelable.git" diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/can-be-saved.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/can-be-saved.md index 64ca87d..7514d46 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/can-be-saved.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/can-be-saved.md @@ -2,9 +2,9 @@ # canBeSaved -[common, ios, js]\ +[common, js, native, wasmJs]\ [common]\ expect abstract fun [canBeSaved](can-be-saved.md)(value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) -[ios, js]\ +[js, native, wasmJs]\ actual abstract fun [canBeSaved](can-be-saved.md)(value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/index.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/index.md index 8f15d37..67479da 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/index.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/index.md @@ -5,7 +5,7 @@ [common]\ expect fun interface [SaverScope](index.md) -[ios, js]\ +[js, native, wasmJs]\ actual fun interface [SaverScope](index.md) [android, jvm]\ @@ -15,4 +15,4 @@ actual typealias [SaverScope](index.md) = [SaverScope](https://developer.android | Name | Summary | |---|---| -| [canBeSaved](can-be-saved.md) | [common, ios, js]
[common]
expect abstract fun [canBeSaved](can-be-saved.md)(value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
[ios, js]
actual abstract fun [canBeSaved](can-be-saved.md)(value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | +| [canBeSaved](can-be-saved.md) | [common, js, native, wasmJs]
[common]
expect abstract fun [canBeSaved](can-be-saved.md)(value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
[js, native, wasmJs]
actual abstract fun [canBeSaved](can-be-saved.md)(value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver.md index 02abc56..ee1e2fa 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver.md @@ -2,9 +2,9 @@ # Saver -[common, ios, js]\ +[common, js, native, wasmJs]\ [common]\ expect fun <[Original](-saver.md), [Saveable](-saver.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Saver](-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](-saver.md)) -> [Saveable](-saver.md)?, restore: (value: [Saveable](-saver.md)) -> [Original](-saver.md)?): [Saver](-saver/index.md)<[Original](-saver.md), [Saveable](-saver.md)> -[ios, js]\ +[js, native, wasmJs]\ actual fun <[Original](-saver.md), [Saveable](-saver.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Saver](-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](-saver.md)) -> [Saveable](-saver.md)?, restore: (value: [Saveable](-saver.md)) -> [Original](-saver.md)?): [Saver](-saver/index.md)<[Original](-saver.md), [Saveable](-saver.md)> diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/index.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/index.md index a37edc9..2997d73 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/index.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/index.md @@ -5,7 +5,7 @@ [common]\ expect interface [Saver](index.md)<[Original](index.md), [Saveable](index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> -[ios, js]\ +[js, native, wasmJs]\ actual interface [Saver](index.md)<[Original](index.md), [Saveable](index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [android, jvm]\ @@ -15,5 +15,5 @@ actual typealias [Saver](index.md) = [Saver](https://developer.android.com/refer | Name | Summary | |---|---| -| [restore](restore.md) | [common, ios, js]
[common]
expect abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)?
[ios, js]
actual abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)? | -| [save](save.md) | [common, ios, js]
[common]
expect abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)?
[ios, js]
actual abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)? | +| [restore](restore.md) | [common, js, native, wasmJs]
[common]
expect abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)?
[js, native, wasmJs]
actual abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)? | +| [save](save.md) | [common, js, native, wasmJs]
[common]
expect abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)?
[js, native, wasmJs]
actual abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)? | diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/restore.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/restore.md index 678442a..25c2cdf 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/restore.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/restore.md @@ -2,9 +2,9 @@ # restore -[common, ios, js]\ +[common, js, native, wasmJs]\ [common]\ expect abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)? -[ios, js]\ +[js, native, wasmJs]\ actual abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)? diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/save.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/save.md index 84a7fe9..f33fcc5 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/save.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/save.md @@ -2,9 +2,9 @@ # save -[common, ios, js]\ +[common, js, native, wasmJs]\ [common]\ expect abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)? -[ios, js]\ +[js, native, wasmJs]\ actual abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)? diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/auto-saver.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/auto-saver.md index c12ed69..2d2299a 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/auto-saver.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/auto-saver.md @@ -2,9 +2,9 @@ # autoSaver -[common, android, ios, js, jvm]\ +[common, android, js, jvm, native, wasmJs]\ [common]\ expect fun <[T](auto-saver.md)> [autoSaver](auto-saver.md)(): [Saver](-saver/index.md)<[T](auto-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> -[android, ios, js, jvm]\ +[android, js, jvm, native, wasmJs]\ actual fun <[T](auto-saver.md)> [autoSaver](auto-saver.md)(): [Saver](-saver/index.md)<[T](auto-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/index.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/index.md index 72fffb6..acad903 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/index.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/index.md @@ -6,17 +6,17 @@ | Name | Summary | |---|---| -| [Saver](-saver/index.md) | [common, ios, js, android, jvm]
[common]
expect interface [Saver](-saver/index.md)<[Original](-saver/index.md), [Saveable](-saver/index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[ios, js]
actual interface [Saver](-saver/index.md)<[Original](-saver/index.md), [Saveable](-saver/index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[android, jvm]
actual typealias [Saver](-saver/index.md) = [Saver](https://developer.android.com/reference/kotlin/androidx/compose/runtime/saveable/Saver.html)<[Original](-saver/index.md), [Saveable](-saver/index.md)> | -| [SaverScope](-saver-scope/index.md) | [common, ios, js, android, jvm]
[common]
expect fun interface [SaverScope](-saver-scope/index.md)
[ios, js]
actual fun interface [SaverScope](-saver-scope/index.md)
[android, jvm]
actual typealias [SaverScope](-saver-scope/index.md) = [SaverScope](https://developer.android.com/reference/kotlin/androidx/compose/runtime/saveable/SaverScope.html) | +| [Saver](-saver/index.md) | [common, js, native, wasmJs, android, jvm]
[common]
expect interface [Saver](-saver/index.md)<[Original](-saver/index.md), [Saveable](-saver/index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[js, native, wasmJs]
actual interface [Saver](-saver/index.md)<[Original](-saver/index.md), [Saveable](-saver/index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[android, jvm]
actual typealias [Saver](-saver/index.md) = [Saver](https://developer.android.com/reference/kotlin/androidx/compose/runtime/saveable/Saver.html)<[Original](-saver/index.md), [Saveable](-saver/index.md)> | +| [SaverScope](-saver-scope/index.md) | [common, js, native, wasmJs, android, jvm]
[common]
expect fun interface [SaverScope](-saver-scope/index.md)
[js, native, wasmJs]
actual fun interface [SaverScope](-saver-scope/index.md)
[android, jvm]
actual typealias [SaverScope](-saver-scope/index.md) = [SaverScope](https://developer.android.com/reference/kotlin/androidx/compose/runtime/saveable/SaverScope.html) | ## Functions | Name | Summary | |---|---| -| [autoSaver](auto-saver.md) | [common, android, ios, js, jvm]
[common]
expect fun <[T](auto-saver.md)> [autoSaver](auto-saver.md)(): [Saver](-saver/index.md)<[T](auto-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[android, ios, js, jvm]
actual fun <[T](auto-saver.md)> [autoSaver](auto-saver.md)(): [Saver](-saver/index.md)<[T](auto-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> | -| [listSaver](list-saver.md) | [common, ios, js]
[common]
expect fun <[Original](list-saver.md), [Saveable](list-saver.md)> [listSaver](list-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](list-saver.md)) -> [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>, restore: (list: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>) -> [Original](list-saver.md)?): [Saver](-saver/index.md)<[Original](list-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[ios, js]
actual fun <[Original](list-saver.md), [Saveable](list-saver.md)> [listSaver](list-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](list-saver.md)) -> [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>, restore: (list: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>) -> [Original](list-saver.md)?): [Saver](-saver/index.md)<[Original](list-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> | -| [mapSaver](map-saver.md) | [common, ios, js]
[common]
expect fun <[T](map-saver.md)> [mapSaver](map-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [T](map-saver.md)) -> [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>, restore: ([Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>) -> [T](map-saver.md)?): [Saver](-saver/index.md)<[T](map-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[ios, js]
actual fun <[T](map-saver.md)> [mapSaver](map-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [T](map-saver.md)) -> [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>, restore: ([Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>) -> [T](map-saver.md)?): [Saver](-saver/index.md)<[T](map-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> | +| [autoSaver](auto-saver.md) | [common, android, js, jvm, native, wasmJs]
[common]
expect fun <[T](auto-saver.md)> [autoSaver](auto-saver.md)(): [Saver](-saver/index.md)<[T](auto-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[android, js, jvm, native, wasmJs]
actual fun <[T](auto-saver.md)> [autoSaver](auto-saver.md)(): [Saver](-saver/index.md)<[T](auto-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> | +| [listSaver](list-saver.md) | [common, js, native, wasmJs]
[common]
expect fun <[Original](list-saver.md), [Saveable](list-saver.md)> [listSaver](list-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](list-saver.md)) -> [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>, restore: (list: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>) -> [Original](list-saver.md)?): [Saver](-saver/index.md)<[Original](list-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[js, native, wasmJs]
actual fun <[Original](list-saver.md), [Saveable](list-saver.md)> [listSaver](list-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](list-saver.md)) -> [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>, restore: (list: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>) -> [Original](list-saver.md)?): [Saver](-saver/index.md)<[Original](list-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> | +| [mapSaver](map-saver.md) | [common, js, native, wasmJs]
[common]
expect fun <[T](map-saver.md)> [mapSaver](map-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [T](map-saver.md)) -> [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>, restore: ([Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>) -> [T](map-saver.md)?): [Saver](-saver/index.md)<[T](map-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>
[js, native, wasmJs]
actual fun <[T](map-saver.md)> [mapSaver](map-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [T](map-saver.md)) -> [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>, restore: ([Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>) -> [T](map-saver.md)?): [Saver](-saver/index.md)<[T](map-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> | | [ParcelableSaver](-parcelable-saver.md) | [common]
@ExperimentalSerializationApi
fun <[T](-parcelable-saver.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [ParcelableSaver](-parcelable-saver.md)(parcelable: [Parcelable](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcelable/index.md) = Parcelable.Default, serializer: KSerializer<[T](-parcelable-saver.md)>): [Saver](-saver/index.md)<[T](-parcelable-saver.md), *>
Creates a [Saver](-saver/index.md) that uses the provided [parcelable](-parcelable-saver.md) and [serializer](-parcelable-saver.md) to save and restore the value. | | [rememberSavable](remember-savable.md) | [common]
@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)
@ExperimentalSerializationApi
fun <[T](remember-savable.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [rememberSavable](remember-savable.md)(vararg inputs: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, parcelable: [Parcelable](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcelable/index.md) = Parcelable.Default, serializer: KSerializer<[T](remember-savable.md)>, key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, init: () -> [T](remember-savable.md)): [T](remember-savable.md)
Calls [rememberSaveable](remember-saveable.md) using a [ParcelableSaver](-parcelable-saver.md) created using the provided [parcelable](remember-savable.md) and [serializer](remember-savable.md). | | [rememberSaveable](remember-saveable.md) | [common]
@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)
fun <[T](remember-saveable.md)> [rememberSaveable](remember-saveable.md)(vararg inputs: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, stateSaver: [Saver](-saver/index.md)<[T](remember-saveable.md), out [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>, key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, init: () -> [MutableState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState.html)<[T](remember-saveable.md)>): [MutableState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState.html)<[T](remember-saveable.md)>
@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)
fun <[T](remember-saveable.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [rememberSaveable](remember-saveable.md)(vararg inputs: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, saver: [Saver](-saver/index.md)<[T](remember-saveable.md), out [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> = autoSaver(), key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, init: () -> [T](remember-saveable.md)): [T](remember-saveable.md)
[common]
@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)
@ExperimentalSerializationApi
fun <[T](remember-saveable.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [rememberSaveable](remember-saveable.md)(vararg inputs: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, parcelable: [Parcelable](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcelable/index.md) = Parcelable.Default, serializer: KSerializer<[T](remember-saveable.md)>, key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, init: () -> [MutableState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState.html)<[T](remember-saveable.md)>): [MutableState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState.html)<[T](remember-saveable.md)>
Calls [rememberSaveable](remember-saveable.md) using a [ParcelableSaver](-parcelable-saver.md) created using the provided [parcelable](remember-saveable.md) and [serializer](remember-saveable.md). | -| [Saver](-saver.md) | [common, ios, js]
[common]
expect fun <[Original](-saver.md), [Saveable](-saver.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Saver](-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](-saver.md)) -> [Saveable](-saver.md)?, restore: (value: [Saveable](-saver.md)) -> [Original](-saver.md)?): [Saver](-saver/index.md)<[Original](-saver.md), [Saveable](-saver.md)>
[ios, js]
actual fun <[Original](-saver.md), [Saveable](-saver.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Saver](-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](-saver.md)) -> [Saveable](-saver.md)?, restore: (value: [Saveable](-saver.md)) -> [Original](-saver.md)?): [Saver](-saver/index.md)<[Original](-saver.md), [Saveable](-saver.md)> | +| [Saver](-saver.md) | [common, js, native, wasmJs]
[common]
expect fun <[Original](-saver.md), [Saveable](-saver.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Saver](-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](-saver.md)) -> [Saveable](-saver.md)?, restore: (value: [Saveable](-saver.md)) -> [Original](-saver.md)?): [Saver](-saver/index.md)<[Original](-saver.md), [Saveable](-saver.md)>
[js, native, wasmJs]
actual fun <[Original](-saver.md), [Saveable](-saver.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Saver](-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](-saver.md)) -> [Saveable](-saver.md)?, restore: (value: [Saveable](-saver.md)) -> [Original](-saver.md)?): [Saver](-saver/index.md)<[Original](-saver.md), [Saveable](-saver.md)> | diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/list-saver.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/list-saver.md index d0b861d..879fdc7 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/list-saver.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/list-saver.md @@ -2,9 +2,9 @@ # listSaver -[common, ios, js]\ +[common, js, native, wasmJs]\ [common]\ expect fun <[Original](list-saver.md), [Saveable](list-saver.md)> [listSaver](list-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](list-saver.md)) -> [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>, restore: (list: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>) -> [Original](list-saver.md)?): [Saver](-saver/index.md)<[Original](list-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> -[ios, js]\ +[js, native, wasmJs]\ actual fun <[Original](list-saver.md), [Saveable](list-saver.md)> [listSaver](list-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [Original](list-saver.md)) -> [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>, restore: (list: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Saveable](list-saver.md)>) -> [Original](list-saver.md)?): [Saver](-saver/index.md)<[Original](list-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> diff --git a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/map-saver.md b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/map-saver.md index b8ba702..253a71c 100644 --- a/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/map-saver.md +++ b/docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/map-saver.md @@ -2,9 +2,9 @@ # mapSaver -[common, ios, js]\ +[common, js, native, wasmJs]\ [common]\ expect fun <[T](map-saver.md)> [mapSaver](map-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [T](map-saver.md)) -> [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>, restore: ([Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>) -> [T](map-saver.md)?): [Saver](-saver/index.md)<[T](map-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> -[ios, js]\ +[js, native, wasmJs]\ actual fun <[T](map-saver.md)> [mapSaver](map-saver.md)(save: [SaverScope](-saver-scope/index.md).(value: [T](map-saver.md)) -> [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>, restore: ([Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?>) -> [T](map-saver.md)?): [Saver](-saver/index.md)<[T](map-saver.md), [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> diff --git a/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/-invalid-parcel-value-exception/index.md b/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/-invalid-parcel-value-exception/index.md index 462622d..888c14f 100644 --- a/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/-invalid-parcel-value-exception/index.md +++ b/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/-invalid-parcel-value-exception/index.md @@ -14,3 +14,10 @@ For instance, if we expect an [Int](https://kotlinlang.org/api/latest/jvm/stdlib | | | |---|---| | [InvalidParcelValueException](-invalid-parcel-value-exception.md) | [common]
constructor(message: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | + +## Properties + +| Name | Summary | +|---|---| +| [cause](index.md#-654012527%2FProperties%2F1557879601) | [common]
open val [cause](index.md#-654012527%2FProperties%2F1557879601): [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)? | +| [message](index.md#1824300659%2FProperties%2F1557879601) | [common]
open val [message](index.md#1824300659%2FProperties%2F1557879601): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | diff --git a/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel.md b/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel.md index 2998bf3..9c9b309 100644 --- a/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel.md +++ b/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel.md @@ -12,11 +12,11 @@ expect fun [Parcel](-parcel.md)(): [Parcel](-parcel/index.md) Creates an empty [Parcel](-parcel/index.md) instance. -[android, ios, js, jvm]\ -[android, ios, js, jvm]\ +[android, js, jvm, native, wasmJs]\ +[android, js, jvm, native, wasmJs]\ actual fun [Parcel](-parcel.md)(): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md) -[android, ios, js, jvm]\ +[android, js, jvm, native, wasmJs]\ actual fun [Parcel](-parcel.md)(data: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md) [common]\ diff --git a/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/index.md b/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/index.md index 15f42cb..ab1c6dc 100644 --- a/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/index.md +++ b/docs/parcelable-core/parcelable-core/com.chrynan.parcelable.core/index.md @@ -31,7 +31,7 @@ | [encodeToParcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/encode-to-parcel.md) | [common]
@ExperimentalSerializationApi
inline fun <[T](encode-to-parcel.md)> [Parcelable](-parcelable/index.md).[encodeToParcel](encode-to-parcel.md)(parcel: [Parcel](-parcel/index.md) = Parcel(), value: [T](encode-to-parcel.md)): [Parcel](-parcel/index.md)
Encodes the provided [value](encode-to-parcel.md) to the provided [parcel](encode-to-parcel.md) using the provided serializer. This is a convenience function to [Parcelable.encodeToParcel](-parcelable/encode-to-parcel.md) that retrieves the serializer from the [Parcelable.serializersModule](-parcelable/serializers-module.md).
[android]
@ExperimentalSerializationApi
fun <[T]([android]encode-to-parcel.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831).[encodeToParcel]([android]encode-to-parcel.md)(parcel: [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md) = Parcel(), kClass: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T]([android]encode-to-parcel.md)>, value: [T]([android]encode-to-parcel.md)): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md)
Encodes the provided [value]([android]encode-to-parcel.md) to the provided [parcel]([android]encode-to-parcel.md) using the provided serializer. This is a convenience function to [Parcelable.encodeToParcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcelable/encode-to-parcel.md) that retrieves the serializer from the [Parcelable.serializersModule](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcelable/serializers-module.md) using the provided [kClass]([android]encode-to-parcel.md).
[jvm]
@ExperimentalSerializationApi
fun <[T]([jvm]encode-to-parcel.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Parcelable](-parcelable/index.md#1131268509%2FMain%2F1959883941).[encodeToParcel]([jvm]encode-to-parcel.md)(parcel: [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md) = Parcel(), kClass: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T]([jvm]encode-to-parcel.md)>, value: [T]([jvm]encode-to-parcel.md)): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md)
Encodes the provided [value]([jvm]encode-to-parcel.md) to the provided [parcel]([jvm]encode-to-parcel.md) using the provided serializer. This is a convenience function to [Parcelable.encodeToParcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcelable/encode-to-parcel.md) that retrieves the serializer from the [Parcelable.serializersModule](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcelable/serializers-module.md) using the provided [kClass]([jvm]encode-to-parcel.md). | | [getParcelable](get-parcelable.md) | [android]
@ExperimentalSerializationApi
inline fun <[T](get-parcelable.md)> [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html).[getParcelable](get-parcelable.md)(key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), flags: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 0, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [T](get-parcelable.md)?
@ExperimentalSerializationApi
fun <[T](get-parcelable.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html).[getParcelable](get-parcelable.md)(key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), kClass: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T](get-parcelable.md)>, flags: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 0, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [T](get-parcelable.md)?
@ExperimentalSerializationApi
fun <[T](get-parcelable.md)> [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html).[getParcelable](get-parcelable.md)(key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), deserializer: DeserializationStrategy<[T](get-parcelable.md)>, flags: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 0, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [T](get-parcelable.md)? | | [getParcelableExtra](get-parcelable-extra.md) | [android]
@ExperimentalSerializationApi
inline fun <[T](get-parcelable-extra.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html).[getParcelableExtra](get-parcelable-extra.md)(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), flags: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 0, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [T](get-parcelable-extra.md)?
@ExperimentalSerializationApi
fun <[T](get-parcelable-extra.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html).[getParcelableExtra](get-parcelable-extra.md)(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), kClass: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T](get-parcelable-extra.md)>, flags: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 0, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [T](get-parcelable-extra.md)?
@ExperimentalSerializationApi
fun <[T](get-parcelable-extra.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html).[getParcelableExtra](get-parcelable-extra.md)(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), deserializer: DeserializationStrategy<[T](get-parcelable-extra.md)>, flags: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 0, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [T](get-parcelable-extra.md)? | -| [Parcel](-parcel.md) | [common]
expect fun [Parcel](-parcel.md)(): [Parcel](-parcel/index.md)
Creates an empty [Parcel](-parcel/index.md) instance.
[android, ios, js, jvm]
[android, ios, js, jvm]
actual fun [Parcel](-parcel.md)(): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md)
[android, ios, js, jvm]
actual fun [Parcel](-parcel.md)(data: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md)
[android]
inline fun [Parcel](-parcel.md)(androidParcel: [Parcel](https://developer.android.com/reference/kotlin/android/os/Parcel.html)): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md)
Creates a [com.chrynan.parcelable.core.Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md) instance from the provided [android.os.Parcel](https://developer.android.com/reference/kotlin/android/os/Parcel.html) class.
[common]
expect fun [Parcel](-parcel.md)(data: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)): [Parcel](-parcel/index.md)
Creates a [Parcel](-parcel/index.md) instance containing the provided [data](-parcel.md). | +| [Parcel](-parcel.md) | [common]
expect fun [Parcel](-parcel.md)(): [Parcel](-parcel/index.md)
Creates an empty [Parcel](-parcel/index.md) instance.
[android, js, jvm, native, wasmJs]
[android, js, jvm, native, wasmJs]
actual fun [Parcel](-parcel.md)(): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md)
[android, js, jvm, native, wasmJs]
actual fun [Parcel](-parcel.md)(data: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md)
[android]
inline fun [Parcel](-parcel.md)(androidParcel: [Parcel](https://developer.android.com/reference/kotlin/android/os/Parcel.html)): [Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md)
Creates a [com.chrynan.parcelable.core.Parcel](../../../parcelable-core/parcelable-core/com.chrynan.parcelable.core/-parcel/index.md) instance from the provided [android.os.Parcel](https://developer.android.com/reference/kotlin/android/os/Parcel.html) class.
[common]
expect fun [Parcel](-parcel.md)(data: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)): [Parcel](-parcel/index.md)
Creates a [Parcel](-parcel/index.md) instance containing the provided [data](-parcel.md). | | [Parcelable](-parcelable.md) | [common]
@ExperimentalSerializationApi
fun [Parcelable](-parcelable.md)(from: [Parcelable](-parcelable/index.md) = Parcelable.Default, builderAction: [ParcelableConfigurationBuilder](-parcelable-configuration-builder/index.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)): [Parcelable.Custom](-parcelable/-custom/index.md)
Creates a custom [Parcelable](-parcelable/index.md) implementation using the provided [from](-parcelable/index.md) as a base for the configuration and the provided [builderAction](-parcelable.md) function to override those configuration values. | | [putExtra](put-extra.md) | [android]
@ExperimentalSerializationApi
inline fun <[T](put-extra.md)> [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html).[putExtra](put-extra.md)(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), value: [T](put-extra.md), parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html)
@ExperimentalSerializationApi
fun <[T](put-extra.md)> [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html).[putExtra](put-extra.md)(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), value: [T](put-extra.md), serializer: SerializationStrategy<[T](put-extra.md)>, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html)
@ExperimentalSerializationApi
fun <[T](put-extra.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html).[putExtra](put-extra.md)(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), value: [T](put-extra.md), kClass: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T](put-extra.md)>, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default): [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html) | | [putParcelable](put-parcelable.md) | [android]
@ExperimentalSerializationApi
inline fun <[T](put-parcelable.md)> [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html).[putParcelable](put-parcelable.md)(key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), value: [T](put-parcelable.md), parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default)
@ExperimentalSerializationApi
fun <[T](put-parcelable.md)> [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html).[putParcelable](put-parcelable.md)(key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), value: [T](put-parcelable.md), serializer: SerializationStrategy<[T](put-parcelable.md)>, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default)
@ExperimentalSerializationApi
fun <[T](put-parcelable.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html).[putParcelable](put-parcelable.md)(key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), value: [T](put-parcelable.md), kClass: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T](put-parcelable.md)>, parcelable: [Parcelable](-parcelable/index.md#1131268509%2FMain%2F-1462739831) = Parcelable.Default) |