desc:兼容新老两种loader实现方式

author:wangyimiao
master
yimiao 3 years ago
parent 49dc1dd810
commit d3b18c3395

@ -27,6 +27,8 @@ import javax.net.ssl.SSLHandshakeException
open class BaseObserve<T> { open class BaseObserve<T> {
var api: T? = null var api: T? = null
constructor()
constructor(clazz: Class<T>) { constructor(clazz: Class<T>) {
api = RequestManager.create(clazz) api = RequestManager.create(clazz)
} }

Loading…
Cancel
Save