[6.7.0][视角切换/蘑方状态展示] 相关代码提交

This commit is contained in:
renwj
2024-09-19 11:48:17 +08:00
parent 17eed33054
commit d67fa35dc2
21 changed files with 409 additions and 344 deletions

View File

@@ -98,7 +98,7 @@ val <T: View> T.lifecycleOwner: LifecycleOwner
}
val <T: View> T.scope
get() = lifecycleOwner.lifecycleScope
get() = lifecycleOwner.lifecycleScope + SupervisorJob()
fun View.onClick(block: (View) -> Unit) {
this.setOnClickListener {