Add shadow to active markers
This commit is contained in:
parent
8b6255142e
commit
e3a9622ad1
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue