功能优化
This commit is contained in:
@@ -66,6 +66,7 @@ val Float.sp: Float
|
||||
)
|
||||
|
||||
fun Double.format2String(): String = "%.1f".format(this)
|
||||
fun Double.format2String(num:Int): String = "%.${num}f".format(this)
|
||||
|
||||
// 添加扩展函数
|
||||
fun ImageProxy.toSafeBitmap(): Bitmap {
|
||||
|
||||
Reference in New Issue
Block a user