zhaocy
zhaocy
https://github.com/o0o0oo00/Pudding
https://github.com/o0o0oo00/Pudding
因为此种通过高阶函数来配置dialogFragment中的变量会存在一个问题,fragment在回收又restore的时候会取intent中的数据,但是通过apply来动态改变其中的变量,不会保存在intent中,再恢复的时候intent中没有值,就会导致无法恢复。
### Library information: - Version: [e.g. 2.0.0] - View or Compose module: [e.g. View] ### Question: [e.g. How do I do X or Y?] use kotlinx-datatime to replace java.time