Commit 623672f3 authored by zhaopengxiang's avatar zhaopengxiang

BaseApplication懒加载初始化

parent bafa48a8
...@@ -40,6 +40,8 @@ class BaseApplication : MultiDexApplication() { ...@@ -40,6 +40,8 @@ class BaseApplication : MultiDexApplication() {
override fun onCreate() { override fun onCreate() {
super.onCreate() super.onCreate()
instance = this
ContextUtils.init(this) ContextUtils.init(this)
//打印机初始化 //打印机初始化
PrinterManager.getInstance().init(this) PrinterManager.getInstance().init(this)
......
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