6.7.0 - Alpha23 - 移除 "android.enableJetifier=true"; 模块化 Expandable Layout, Expandable RecyclerView, Recyclerview Flexible Divider

This commit is contained in:
SuperMonster003
2026-03-07 19:35:05 +08:00
parent 0cc28bdb6c
commit 528f3e59dc
47 changed files with 4673 additions and 75 deletions

View File

@@ -115,7 +115,7 @@ class Selector(private val scriptRuntime: ScriptRuntime) : Augmentable(scriptRun
when {
arg !is Double -> arg
paramType == Double::class.java || paramType == java.lang.Double.TYPE -> arg
paramType == Float::class.java || paramType == java.lang.Float.TYPE -> arg.toDouble()
paramType == Float::class.java || paramType == java.lang.Float.TYPE -> arg.toFloat()
paramType == Long::class.java || paramType == java.lang.Long.TYPE -> arg.roundToLong()
paramType == Int::class.java || paramType == Integer.TYPE -> arg.roundToInt()
paramType == Short::class.java || paramType == java.lang.Short.TYPE -> arg.toInt().toShort()