给CoordinatorLayout设置一个id就可以了。
参考 https://stackoverflow.com/questions/32563300/how-to-restore-collapsing-toolbar-layout-state-after-screen-orientation-change
给CoordinatorLayout设置一个id就可以了。
参考 https://stackoverflow.com/questions/32563300/how-to-restore-collapsing-toolbar-layout-state-after-screen-orientation-change
本文标题:CoordinatorLayout的滚动状态保存
本文链接:https://www.haomeiwen.com/subject/yrrlgctx.html
网友评论