@@ -0,0 +1,26 @@
|
||||
package com.zhidao.roadcondition.event
|
||||
|
||||
|
||||
/**
|
||||
* @description
|
||||
*
|
||||
* @author lixiaopeng
|
||||
* @since 2019-10-13
|
||||
*/
|
||||
class GetImageSuccessEvent {
|
||||
private var imageUrl: String? = null
|
||||
private var type: String? = null
|
||||
|
||||
constructor(imageUrl: String?, type: String?) {
|
||||
this.imageUrl = imageUrl
|
||||
this.type = type
|
||||
}
|
||||
|
||||
fun getImageUrl(): String? {
|
||||
return imageUrl
|
||||
}
|
||||
|
||||
fun getType(): String? {
|
||||
return type
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.zhidao.roadcondition.event
|
||||
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
|
||||
class LatLngStickyEventBus {
|
||||
|
||||
companion object {
|
||||
private var mEventBus = EventBus.builder()
|
||||
.logNoSubscriberMessages(false)
|
||||
.sendNoSubscriberEvent(false)
|
||||
.build()
|
||||
|
||||
fun getInstance(): EventBus {
|
||||
return mEventBus
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user