You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -407,9 +407,8 @@ class CounterActivity : ComponentActivity() {
407
407
```
408
408
409
409
Alternatively, you can prepare a [StateSaver](tart-core/src/commonMain/kotlin/io/yumemi/tart/core/StateSaver.kt) and handle the persistence yourself.
410
-
For details, see [Introduction to rememberViewStoreSaveable inTart1.3.0](https://medium.com/@kusu0806/introduction-to-rememberviewstoresaveable-in-tart-1-3-0-7e18034ed1e5).
411
410
412
-
Tart has prepared two types of `StateSaver` implementations:
411
+
Inthis regard, Tart has prepared two types of `StateSaver` implementations:
-Persists state across app restarts (using SharedPreferences on Android, NSUserDefaults on iOS)
@@ -425,6 +424,11 @@ Tart has prepared two types of `StateSaver` implementations:
425
424
426
425
Please note that both implementations are marked with the `@ExperimentalTartApi` annotationand may change in future releases.
427
426
427
+
For more details, please refer to the following posts.
428
+
429
+
- [Introduction to rememberViewStoreSaveable inTart1.3.0](https://medium.com/@kusu0806/introduction-to-rememberviewstoresaveable-in-tart-1-3-0-7e18034ed1e5).
430
+
- [Introduction to RetainedStateSaverinTart1.4.0](https://medium.com/@kusu0806/introduction-to-retainedstatesaver-in-tart-1-4-0-28dc24f8a565)
431
+
428
432
<details>
429
433
<summary>TIPS:Preparing a StoreFactoryclass</summary>
0 commit comments