增加初始化功能、采样菜品搜索功能优化、布局移动到layout目录
This commit is contained in:
@@ -14,9 +14,6 @@ class BaseApp : Application() {
|
||||
|
||||
val database by lazy { DatabaseProvider(this).instance }
|
||||
|
||||
var token: String? = null
|
||||
var androidId: String? = null
|
||||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
instance = this
|
||||
@@ -29,6 +26,10 @@ class BaseApp : Application() {
|
||||
|
||||
// const val canteenId = "1678234139391512577"
|
||||
var canteenId = "0"
|
||||
var configUrl = ""
|
||||
|
||||
var token: String? = null
|
||||
var deviceId: String? = null
|
||||
@Volatile
|
||||
private var sharedPref: SharedPreferences? = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user