some formatting

This commit is contained in:
Felix 2017-03-22 10:11:11 +01:00
parent 24171818da
commit db31978816

View file

@ -19,15 +19,11 @@ public class EventDetailsDescriptionPresenter extends AbstractDetailsDescription
StringBuilder sb = new StringBuilder();
String speaker = TextUtils.join(", ", event.getPersons());
sb.append(event.getDescription())
.append("\n\n")
.append("by: ")
.append(speaker)
.append("\nreleased at: ")
.append(event.getReleaseDate())
.append("\nlast updated at: ")
.append(event.getUpdatedAt())
.append("\nTags: ")
.append(event.getTags());
.append("\n")
.append("by: ").append(speaker)
.append("\nreleased at: ").append(event.getReleaseDate())
.append("\nlast updated at: ").append(event.getUpdatedAt())
.append("\nTags: ").append(android.text.TextUtils.join(", ",event.getTags()));
vh.getBody().setText(sb.toString());
}
}