From d3b18c3395037b41f298f1b423d6de70e137d34a Mon Sep 17 00:00:00 2001 From: yimiao Date: Mon, 2 Aug 2021 14:52:35 +0800 Subject: [PATCH] =?UTF-8?q?desc:=E5=85=BC=E5=AE=B9=E6=96=B0=E8=80=81?= =?UTF-8?q?=E4=B8=A4=E7=A7=8Dloader=E5=AE=9E=E7=8E=B0=E6=96=B9=E5=BC=8F=20?= =?UTF-8?q?author:wangyimiao?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt b/commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt index 1eae8d9..0ae1745 100644 --- a/commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt +++ b/commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt @@ -27,6 +27,8 @@ import javax.net.ssl.SSLHandshakeException open class BaseObserve { var api: T? = null + constructor() + constructor(clazz: Class) { api = RequestManager.create(clazz) }