| | |
| | | setStartPointBitmap(null) |
| | | setEndPointBitmap(null) |
| | | setWayPointBitmap(null) |
| | | showRouteStart(false) |
| | | showRouteEnd(false) |
| | | // setPassRouteVisible(false) |
| | | routeOverlayOptions = RouteOverlayOptions().apply { |
| | | setOnRouteCameShow(false) |
| | |
| | | ) |
| | | val lvLine = holder.getView<LineView>(R.id.lv_line) |
| | | lvLine.visibility = if (item == data.last()) View.INVISIBLE else View.VISIBLE |
| | | lvLine.dashLineEnable = !item.hadCheckIn() |
| | | lvLine.dashLineEnable = item == data.last() || !data[holder.layoutPosition + 1].hadCheckIn() |
| | | lvLine.lineColor = ContextCompat.getColor( |
| | | holder.itemView.context, |
| | | if (item.hadCheckIn()) com.xw.common.R.color.blue_5 else com.xw.common.R.color.gray_6 |