FancyDialog
FancyDialog copied to clipboard
Kotlin + DSL风格代替传统的Builder模式 诸多可配置项 高阶函数代替自定义回调接口 书写起来超级顺手
Results
1
FancyDialog issues
Sort by
recently updated
recently updated
newest added
因为此种通过高阶函数来配置dialogFragment中的变量会存在一个问题,fragment在回收又restore的时候会取intent中的数据,但是通过apply来动态改变其中的变量,不会保存在intent中,再恢复的时候intent中没有值,就会导致无法恢复。