public void renderTo (final @Nonnull TextView textView, @Nonnull Object... extra)
{
final StringBuilder builder = new StringBuilder();
builder.append(generalPreferences.get().formatDateAndTime(observation.getDate(), "<b>", "</b>"));
final Location location = observation.getLocation();
if (location != null)
{
builder.append("<br>");
builder.append(location.getDisplayName());
try
{
final Range range = location.as(Range);
builder.append(String.format("<br><small>%s</small>", locationPreferences.get().format(range)));
}
catch (AsException e)
{
}
}
textView.setText(Html.fromHtml(builder.toString()));
}
}