文件名称:Android代码-onSaveInstance的辅助库,用于快速恢复Activity状态
文件大小:183KB
文件格式:ZIP
更新时间:2022-08-25 20:00:42
Android代码
Icepick Icepick is an Android library that eliminates the boilerplate of saving and restoring instance state. It uses annotation processing to generate code that does bundle manipulation and key generation, so that you don't have to write it yourself. class ExampleActivity extends Activity { @State String username; // This will be automatically saved and restored @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Icepick.restoreInstanceSt
【文件预览】:
icepick-master
----circle.yml(146B)
----icepick-processor()
--------src()
--------test()
--------project.clj(1KB)
--------.gitignore(84B)
----.lein-classpath(5B)
----.gitattributes(98B)
----icepick()
--------src()
--------project.clj(908B)
--------.gitignore(84B)
----build()
--------leiningen()
----LICENSE.md(11KB)
----README.md(4KB)
----sample()
--------gradlew(5KB)
--------settings.gradle(23B)
--------lib()
--------gradle()
--------gradlew.bat(2KB)
--------.gitignore(18B)
--------app()
--------build.gradle(484B)
----project.clj(252B)
----.gitignore(111B)
----CHANGELOG.md(179B)