opt
This commit is contained in:
@@ -832,7 +832,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
||||
.latitude(event.lat)
|
||||
.owner(TanluConstants.MODEL_NAME)
|
||||
.longitude(event.lon);
|
||||
IMogoMarker marker = mMarkerManager.addMarker("share_tag", options); //随便传tag,不可点击
|
||||
mMarkerManager.addMarker("share_tag", options); //随便传tag,不可点击
|
||||
//请求分享接口
|
||||
MarkerExploreWay markerExploreWay = markerExploreWayList.get(0);
|
||||
if (markerExploreWay.getUserInfo() != null) {
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
package com.mogo.module.tanlu.receiver
|
||||
|
||||
import android.content.BroadcastReceiver
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.util.Log
|
||||
import com.mogo.module.tanlu.model.event.VoiceRoadInfo
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
|
||||
/**
|
||||
* xx堵不堵,接收关键字,应该在哪里接收关键字请求接口?
|
||||
*/
|
||||
class RoadInfoReceiver : BroadcastReceiver() {
|
||||
override fun onReceive(context: Context, intent: Intent) {
|
||||
if (intent.action == "com.zhidao.roadcondition.roadinfo"){
|
||||
var keyWords = intent.getStringExtra("keywords")
|
||||
var city = intent.getStringExtra("city")
|
||||
Log.d("RoadInfoReceiver", "keyWords = $keyWords ---->city = $city")
|
||||
EventBus.getDefault().post(VoiceRoadInfo(keyWords, city))
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user