Replace concat with plus
This commit is contained in:
parent
2443b60263
commit
cbe5c3c20f
1 changed files with 3 additions and 4 deletions
|
@ -336,10 +336,9 @@ public class MapMarkersGroupsAdapter extends RecyclerView.Adapter<RecyclerView.V
|
||||||
}
|
}
|
||||||
} else if (header instanceof GroupHeader) {
|
} else if (header instanceof GroupHeader) {
|
||||||
GroupHeader groupHeader = (GroupHeader) header;
|
GroupHeader groupHeader = (GroupHeader) header;
|
||||||
headerString = groupHeader.getGroupName().concat(" - ")
|
headerString = groupHeader.getGroupName() + " - "
|
||||||
.concat(Integer.toString(groupHeader.getActiveMarkersCount()))
|
+ groupHeader.getActiveMarkersCount()
|
||||||
.concat("/")
|
+ "/" + (groupHeader.getActiveMarkersCount() + groupHeader.getHistoryMarkersCount());
|
||||||
.concat(Integer.toString(groupHeader.getActiveMarkersCount() + groupHeader.getHistoryMarkersCount()));
|
|
||||||
headerViewHolder.icon.setVisibility(View.VISIBLE);
|
headerViewHolder.icon.setVisibility(View.VISIBLE);
|
||||||
headerViewHolder.iconSpace.setVisibility(View.GONE);
|
headerViewHolder.iconSpace.setVisibility(View.GONE);
|
||||||
headerViewHolder.icon.setImageDrawable(iconsCache.getThemedIcon(groupHeader.getIconRes()));
|
headerViewHolder.icon.setImageDrawable(iconsCache.getThemedIcon(groupHeader.getIconRes()));
|
||||||
|
|
Loading…
Reference in a new issue