[3.4.0-map-sdk] fix bug of mapview init when biz use
This commit is contained in:
@@ -9,13 +9,16 @@ class MogoData private constructor() {
|
||||
}
|
||||
}
|
||||
|
||||
private lateinit var iMogoData: IMogoData
|
||||
private var iMogoData: IMogoData? = null
|
||||
|
||||
fun init(iMogoData: IMogoData) {
|
||||
this.iMogoData = iMogoData
|
||||
}
|
||||
|
||||
fun get():IMogoData{
|
||||
fun get():IMogoData?{
|
||||
if(iMogoData == null){
|
||||
return null
|
||||
}
|
||||
return iMogoData
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user