Skip to content

Commit 189c24d

Browse files
committed
remove ext-function for EasyBundle
1 parent e5b7431 commit 189c24d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

utils/src/main/java/com/haoge/easyandroid/easy/EasyBundle.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,4 @@ abstract class TypeGeneric<T>(private val raw:Class<*>) {
327327
val type = (this.javaClass.genericSuperclass as ParameterizedType).actualTypeArguments[0]
328328
return if (type is Class<*> || type is ParameterizedType) type else raw
329329
}
330-
}
331-
332-
fun Bundle.put(key:String, value:Any?):Bundle = EasyBundle.create(this).put(key, value).bundle
333-
fun Bundle.put(map: Map<String, Any?>):Bundle = EasyBundle.create(this).put(map).bundle
334-
fun Bundle.put(vararg params:Pair<String, Any?>):Bundle = EasyBundle.create(this).put(*params).bundle
330+
}

0 commit comments

Comments
 (0)