[6.10.0]数据上车车龙消息增加车道图标
@@ -72,71 +72,139 @@ class NDERoadAdapter(private val context: Context): RecyclerView.Adapter<NDERoad
|
||||
}
|
||||
//直行或左转
|
||||
202->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_or_turn_left
|
||||
))
|
||||
}
|
||||
//直行或右转
|
||||
203->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_or_turn_right
|
||||
))
|
||||
}
|
||||
//直行或掉头
|
||||
204->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_or_reverse
|
||||
))
|
||||
}
|
||||
//左转
|
||||
205->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_left
|
||||
))
|
||||
}
|
||||
//左转或掉头
|
||||
206->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_left_or_reverse
|
||||
))
|
||||
}
|
||||
//左弯或向左合流
|
||||
207->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_or_merge_left
|
||||
))
|
||||
}
|
||||
//右转
|
||||
208->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_right
|
||||
))
|
||||
}
|
||||
//右转或向右合流
|
||||
209->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_or_merge_right
|
||||
))
|
||||
}
|
||||
//左右转弯
|
||||
210->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_left_or_right
|
||||
))
|
||||
}
|
||||
//掉头
|
||||
211->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_reverse
|
||||
))
|
||||
}
|
||||
//禁止左转
|
||||
212->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_prohibit_turn_left
|
||||
))
|
||||
}
|
||||
//禁止右转
|
||||
213->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_prohibit_turn_right
|
||||
))
|
||||
}
|
||||
//禁止掉头
|
||||
214->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_prohibit_reverse
|
||||
))
|
||||
}
|
||||
//直行或左转或右转
|
||||
215->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_turn_left_right
|
||||
))
|
||||
}
|
||||
//直行或掉头或左转
|
||||
216->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_turn_left_reverse
|
||||
))
|
||||
}
|
||||
//右转或掉头
|
||||
217->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_right_or_reverse
|
||||
))
|
||||
}
|
||||
//禁止右转或向右合流
|
||||
218->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_prohibit_turn_or_merge_right
|
||||
))
|
||||
}
|
||||
}
|
||||
//是否是推荐车道
|
||||
|
||||
@@ -70,71 +70,139 @@ class PassengerNDERoadAdapter(private val context: Context): RecyclerView.Adapte
|
||||
}
|
||||
//直行或左转
|
||||
202->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_or_turn_left
|
||||
))
|
||||
}
|
||||
//直行或右转
|
||||
203->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_or_turn_right
|
||||
))
|
||||
}
|
||||
//直行或掉头
|
||||
204->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_or_reverse
|
||||
))
|
||||
}
|
||||
//左转
|
||||
205->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_left
|
||||
))
|
||||
}
|
||||
//左转或掉头
|
||||
206->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_left_or_reverse
|
||||
))
|
||||
}
|
||||
//左弯或向左合流
|
||||
207->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_or_merge_left
|
||||
))
|
||||
}
|
||||
//右转
|
||||
208->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_right
|
||||
))
|
||||
}
|
||||
//右转或向右合流
|
||||
209->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_or_merge_right
|
||||
))
|
||||
}
|
||||
//左右转弯
|
||||
210->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_left_or_right
|
||||
))
|
||||
}
|
||||
//掉头
|
||||
211->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_reverse
|
||||
))
|
||||
}
|
||||
//禁止左转
|
||||
212->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_prohibit_turn_left
|
||||
))
|
||||
}
|
||||
//禁止右转
|
||||
213->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_prohibit_turn_right
|
||||
))
|
||||
}
|
||||
//禁止掉头
|
||||
214->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_prohibit_reverse
|
||||
))
|
||||
}
|
||||
//直行或左转或右转
|
||||
215->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_turn_left_right
|
||||
))
|
||||
}
|
||||
//直行或掉头或左转
|
||||
216->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_forward_turn_left_reverse
|
||||
))
|
||||
}
|
||||
//右转或掉头
|
||||
217->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_turn_right_or_reverse
|
||||
))
|
||||
}
|
||||
//禁止右转或向右合流
|
||||
218->{
|
||||
|
||||
holder.ivRoadType.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
context,
|
||||
R.drawable.icon_road_prohibit_turn_or_merge_right
|
||||
))
|
||||
}
|
||||
}
|
||||
//是否是推荐车道
|
||||
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 4.5 KiB |