Commit 50163383 by sikang

LitePal init bug

parent fd7e689a
...@@ -20,6 +20,8 @@ import com.scwang.smartrefresh.layout.header.ClassicsHeader; ...@@ -20,6 +20,8 @@ import com.scwang.smartrefresh.layout.header.ClassicsHeader;
import com.tencent.bugly.crashreport.CrashReport; import com.tencent.bugly.crashreport.CrashReport;
import org.litepal.LitePal;
import cn.fraudmetrix.octopus.aspirit.main.OctopusManager; import cn.fraudmetrix.octopus.aspirit.main.OctopusManager;
import tech.starwin.network.Gateway; import tech.starwin.network.Gateway;
import tech.starwin.utils.TrackEventHelper; import tech.starwin.utils.TrackEventHelper;
...@@ -97,6 +99,8 @@ public class LibConfig { ...@@ -97,6 +99,8 @@ public class LibConfig {
//屏幕适配(360dp宽度限定) //屏幕适配(360dp宽度限定)
ScreenAutoSize.resizeDensity(CONTEXT, 360f); ScreenAutoSize.resizeDensity(CONTEXT, 360f);
LitePal.initialize(CONTEXT);
//上传工具 //上传工具
UploadManager.init(CONTEXT); UploadManager.init(CONTEXT);
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
android:layout_weight="1"> android:layout_weight="1">
<FrameLayout <FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/gray_bg"> android:background="@color/gray_bg">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment