Closed arkivanov closed 3 months ago
The update in the state-keeper
repository enhances the Android Bundle
handling by integrating kotlinx.serialization
for serializable operations. New functions for serialization and deserialization (putSerializable
and getSerializable
) are introduced, alongside a SerializableHolder
for efficient serialization management. Additionally, the testing suite is updated to align with these changes.
File Path | Change Summary |
---|---|
.../state-keeper.api , .../BundleExt.kt |
Added putSerializable and getSerializable functions, supporting kotlinx.serialization . |
.../AndroidStateKeeperTest.kt |
Updated to use standard Android Parcel methods. |
.../BundleExtTest.kt , .../TestUtils.android.kt |
New test cases and utilities for serializing and deserializing Android Bundle . |
Objective | Addressed | Explanation |
---|---|---|
Consider adding Bundle#putSerializable and Bundle#getSerializable extensions (#165) | ✅ |
🐇✨ In the land of code where bundles bind, A rabbit hopped, improvements in mind. Serializable tales, now smoothly told, In bytes and bundles, new and old. Cheers to the devs, with every commit pushed, In the burrow of code, bugs are shushed. 🌟📦
Closes #165.
Summary by CodeRabbit
New Features
Refactor
Tests
Chores