use of com.fastaccess.data.dao.TeamsModel in project FastHub by k0shk0sh.
the class FeedsViewHolder method appendTeamEvent.
private void appendTeamEvent(SpannableBuilder spannableBuilder, Event eventsModel) {
TeamsModel teamsModel = eventsModel.getPayload().getTeam();
User user = eventsModel.getPayload().getUser();
spannableBuilder.bold("added").append(" ").append(user != null ? user.getLogin() : eventsModel.getRepo().getName()).append(" ").bold("in").append(" ").append(teamsModel.getName() != null ? teamsModel.getName() : teamsModel.getSlug());
}
Aggregations