opt
This commit is contained in:
@@ -178,7 +178,7 @@ public class MapMarkerManager implements IMogoMarkerClickListener,
|
||||
}
|
||||
// 在线车辆点击使用infoWindow
|
||||
if ( TextUtils.equals( mogoMarker.getOwner(), ModuleNames.CARD_TYPE_USER_DATA ) ) {
|
||||
// mogoMarker.hideInfoWindow();
|
||||
mogoMarker.hideInfoWindow();
|
||||
Logger.d( TAG, "关闭info window" );
|
||||
} else {
|
||||
Object object = mogoMarker.getObject();
|
||||
|
||||
@@ -9,6 +9,7 @@ import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.alibaba.android.arouter.launcher.ARouter;
|
||||
import com.mogo.commons.debug.DebugConfig;
|
||||
import com.mogo.commons.network.SubscribeImpl;
|
||||
import com.mogo.map.marker.IMogoInfoWindowAdapter;
|
||||
import com.mogo.map.marker.IMogoMarker;
|
||||
@@ -110,6 +111,10 @@ public class UserDataMarkerInfoWindowAdapter implements IMogoInfoWindowAdapter {
|
||||
}
|
||||
mCall.setOnClickListener( view -> {
|
||||
if ( markerShowEntity.getBindObj() instanceof MarkerOnlineCar ) {
|
||||
if ( DebugConfig.getNetMode() != DebugConfig.NET_MODE_DEMO ) {
|
||||
callToFactUser( markerShowEntity );
|
||||
return;
|
||||
}
|
||||
sRefreshApiService.getMockUsers().subscribeOn( Schedulers.io() )
|
||||
.observeOn( AndroidSchedulers.mainThread() )
|
||||
.subscribe( new SubscribeImpl< DemoUserInfoEntity >( RequestOptions.create( mContext ) ) {
|
||||
|
||||
Reference in New Issue
Block a user