Android代码 自动帮你完成 onSaveInstanceState 和 onRestoreInstanceState 的相关操作
SaveState 中文文档 Automatically save and restore states of Activities, Fragments and Views. No boilerplate code like onSaveInstanceState or onRestoreInstanceState any more. Getting started Just add the @AutoRestore annotation to your fields that need to be saved and restored in Activities, Fragment
用户评论