Search in sources :

Example 1 with TeamsModel

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());
}
Also used : TeamsModel(com.fastaccess.data.dao.TeamsModel) User(com.fastaccess.data.dao.model.User)

Aggregations

TeamsModel (com.fastaccess.data.dao.TeamsModel)1 User (com.fastaccess.data.dao.model.User)1