Show marker`s waypoint category
This commit is contained in:
parent
a4ed3bd8cc
commit
45a4f9df6d
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ public class MapMarkersActiveAdapter extends RecyclerView.Adapter<MapMarkerItemV
|
|||
String day = new SimpleDateFormat("d", Locale.getDefault()).format(date);
|
||||
descr = month + " " + day;
|
||||
}
|
||||
if (marker.wptPt != null && marker.wptPt.category != null) {
|
||||
descr = marker.wptPt.category + ", " + descr;
|
||||
}
|
||||
holder.description.setText(descr);
|
||||
|
||||
holder.optionsBtn.setOnClickListener(new View.OnClickListener() {
|
||||
|
|
Loading…
Reference in a new issue