标准序列化工具
简化项目中的序列化
- 开启组件方便传递参数
- 创建自动读写自本地的字段
- 创建自动读写Intent/Argument参数
- 创建意外销毁自动保存/恢复的字段
- 创建配置变更/屏幕旋转自动恢复的数据实例
- 快捷打开意图
在项目根目录的 build.gradle 添加仓库
allprojects {
repositories {
// ...
maven { url 'https://jitpack.io' }
}
}
在 module 的 build.gradle 添加依赖
implementation 'com.github.liangjingkanji:Serialize:1.0.3'
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.