Add shadow to active markers

This commit is contained in:
PavelRatushnyi 2017-09-14 12:02:38 +03:00
parent 8b6255142e
commit e3a9622ad1

View file

@ -113,6 +113,11 @@ public class MapMarkersActiveAdapter extends RecyclerView.Adapter<MapMarkerItemV
drawableResToUpdate = R.drawable.ic_direction_arrow;
markerImageViewToUpdate = holder.iconDirection;
}
if (pos == getItemCount() - 1) {
holder.setBottomShadowVisibility(View.VISIBLE);
} else {
holder.setBottomShadowVisibility(View.GONE);
}
holder.iconReorder.setOnTouchListener(new View.OnTouchListener() {
@Override