feat : 麦位上麦 检测判断接口

This commit is contained in:
eggmanQQQ
2024-12-26 19:42:30 +08:00
parent ce706bf90f
commit fed0acbd61
15 changed files with 332 additions and 161 deletions

View File

@@ -106,6 +106,9 @@ fun TextView.setString(strId:Int) {
fun String?.isVerify() : Boolean {
return this?.isBlank() == false
}
fun CharSequence?.isVerify() : Boolean {
return this?.isBlank() == false
}
fun String.toColor() : Int {
return Color.parseColor(this)