[base_3.4.0-map-sdk]

This commit is contained in:
zhongchao
2023-08-18 18:42:12 +08:00
parent 10b5933c03
commit fc25630dc4
43 changed files with 644 additions and 790 deletions

View File

@@ -1,13 +1,23 @@
package com.mogo.map
class MogoData {
class MogoData private constructor() {
companion object{
companion object {
val mogoData by lazy(LazyThreadSafetyMode.SYNCHRONIZED){
val mogoMapData by lazy(LazyThreadSafetyMode.SYNCHRONIZED) {
MogoData()
}
}
private lateinit var iMogoData: IMogoData
fun init(iMogoData: IMogoData) {
this.iMogoData = iMogoData
}
fun get():IMogoData{
return iMogoData
}
}