Show marker`s waypoint category

This commit is contained in:
Chumva 2018-03-28 13:44:13 +03:00
parent a4ed3bd8cc
commit 45a4f9df6d

View file

@ -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() {