-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chris
committed
Feb 11, 2023
1 parent
72e76ea
commit e2de09f
Showing
86 changed files
with
800 additions
and
174 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
.../parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/can-be-saved.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//[parcelable-compose](../../../index.md)/[com.chrynan.parcelable.compose](../index.md)/[SaverScope](index.md)/[canBeSaved](can-be-saved.md) | ||
|
||
# canBeSaved | ||
|
||
[common, 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) | ||
|
||
[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) |
18 changes: 18 additions & 0 deletions
18
...compose/parcelable-compose/com.chrynan.parcelable.compose/-saver-scope/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
//[parcelable-compose](../../../index.md)/[com.chrynan.parcelable.compose](../index.md)/[SaverScope](index.md) | ||
|
||
# SaverScope | ||
|
||
[common]\ | ||
expect fun interface [SaverScope](index.md) | ||
|
||
[js]\ | ||
actual fun interface [SaverScope](index.md) | ||
|
||
[android, jvm]\ | ||
actual typealias [SaverScope](index.md) = [SaverScope](https://developer.android.com/reference/kotlin/androidx/compose/runtime/saveable/SaverScope.html) | ||
|
||
## Functions | ||
|
||
| Name | Summary | | ||
|---|---| | ||
| [canBeSaved](can-be-saved.md) | [common, js]<br>[common]<br>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)<br>[js]<br>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) | |
10 changes: 10 additions & 0 deletions
10
.../parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//[parcelable-compose](../../index.md)/[com.chrynan.parcelable.compose](index.md)/[Saver](-saver.md) | ||
|
||
# Saver | ||
|
||
[common, 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)> | ||
|
||
[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)> |
19 changes: 19 additions & 0 deletions
19
...lable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//[parcelable-compose](../../../index.md)/[com.chrynan.parcelable.compose](../index.md)/[Saver](index.md) | ||
|
||
# Saver | ||
|
||
[common]\ | ||
expect interface [Saver](index.md)<[Original](index.md), [Saveable](index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> | ||
|
||
[js]\ | ||
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]\ | ||
actual typealias [Saver](index.md) = [Saver](https://developer.android.com/reference/kotlin/androidx/compose/runtime/saveable/Saver.html)<[Original](index.md), [Saveable](index.md)> | ||
|
||
## Functions | ||
|
||
| Name | Summary | | ||
|---|---| | ||
| [restore](restore.md) | [common, js]<br>[common]<br>expect abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)?<br>[js]<br>actual abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)? | | ||
| [save](save.md) | [common, js]<br>[common]<br>expect abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)?<br>[js]<br>actual abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)? | |
10 changes: 10 additions & 0 deletions
10
...ble-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/restore.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//[parcelable-compose](../../../index.md)/[com.chrynan.parcelable.compose](../index.md)/[Saver](index.md)/[restore](restore.md) | ||
|
||
# restore | ||
|
||
[common, js]\ | ||
[common]\ | ||
expect abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)? | ||
|
||
[js]\ | ||
actual abstract fun [restore](restore.md)(value: [Saveable](index.md)): [Original](index.md)? |
10 changes: 10 additions & 0 deletions
10
...elable-compose/parcelable-compose/com.chrynan.parcelable.compose/-saver/save.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//[parcelable-compose](../../../index.md)/[com.chrynan.parcelable.compose](../index.md)/[Saver](index.md)/[save](save.md) | ||
|
||
# save | ||
|
||
[common, js]\ | ||
[common]\ | ||
expect abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)? | ||
|
||
[js]\ | ||
actual abstract fun [SaverScope](../-saver-scope/index.md).[save](save.md)(value: [Original](index.md)): [Saveable](index.md)? |
10 changes: 10 additions & 0 deletions
10
...celable-compose/parcelable-compose/com.chrynan.parcelable.compose/auto-saver.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//[parcelable-compose](../../index.md)/[com.chrynan.parcelable.compose](index.md)/[autoSaver](auto-saver.md) | ||
|
||
# autoSaver | ||
|
||
[common, android, 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, 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)> |
18 changes: 15 additions & 3 deletions
18
docs/parcelable-compose/parcelable-compose/com.chrynan.parcelable.compose/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
//[parcelable-compose](../../index.md)/[com.chrynan.parcelable.compose](index.md) | ||
|
||
# Package com.chrynan.parcelable.compose | ||
# Package-level declarations | ||
|
||
## Types | ||
|
||
| Name | Summary | | ||
|---|---| | ||
| [Saver](-saver/index.md) | [common, js, android, jvm]<br>[common]<br>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)><br>[js]<br>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)><br>[android, jvm]<br>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, android, jvm]<br>[common]<br>expect fun interface [SaverScope](-saver-scope/index.md)<br>[js]<br>actual fun interface [SaverScope](-saver-scope/index.md)<br>[android, jvm]<br>actual typealias [SaverScope](-saver-scope/index.md) = [SaverScope](https://developer.android.com/reference/kotlin/androidx/compose/runtime/saveable/SaverScope.html) | | ||
|
||
## Functions | ||
|
||
| Name | Summary | | ||
|---|---| | ||
| [ParcelableSaver](-parcelable-saver.md) | [common]<br>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<[T](-parcelable-saver.md), *><br>Creates a Saver that uses the provided [parcelable](-parcelable-saver.md) and [serializer](-parcelable-saver.md) to save and restore the value. | | ||
| [rememberSavable](remember-savable.md) | [common]<br>@Composable<br>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)<br>Calls rememberSaveable using a [ParcelableSaver](-parcelable-saver.md) created using the provided [parcelable](remember-savable.md) and [serializer](remember-savable.md). | | ||
| [autoSaver](auto-saver.md) | [common, android, js, jvm]<br>[common]<br>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)><br>[android, js, jvm]<br>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]<br>[common]<br>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)><br>[js]<br>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]<br>[common]<br>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)><br>[js]<br>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]<br>@ExperimentalSerializationApi<br>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), *><br>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]<br>@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)<br>@ExperimentalSerializationApi<br>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)<br>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]<br>@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)<br>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)><br>@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)<br>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)<br>[common]<br>@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)<br>@ExperimentalSerializationApi<br>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)><br>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, js]<br>[common]<br>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)><br>[js]<br>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)> | |
10 changes: 10 additions & 0 deletions
10
...celable-compose/parcelable-compose/com.chrynan.parcelable.compose/list-saver.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//[parcelable-compose](../../index.md)/[com.chrynan.parcelable.compose](index.md)/[listSaver](list-saver.md) | ||
|
||
# listSaver | ||
|
||
[common, 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)> | ||
|
||
[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)> |
Oops, something went wrong.