Package com.secoo.coobox.library.ktx.android.net

Functions

appendParameter
Link copied to clipboard
fun Uri?.appendParameter(paramName: String?, paramValue: String?): String?
在Uri对象后增加参参数名和参数值
appendUrlParameter
Link copied to clipboard
fun String?.appendUrlParameter(paramName: String?, paramValue: String?): String?
尝试在字符串(可能为Uri)中增加参数名和参数值
isValid
Link copied to clipboard
fun Uri.isValid(): Boolean
验证Uri是否合法,我们认为能够获得scheme不为null且不为空,则是合法的Uri