use of com.github.pockethub.android.core.commit.FullCommitFile in project PocketHub by pockethub.
the class CommitDiffListFragment method updateItems.
private void updateItems(List<GitComment> comments, List<FullCommitFile> files) {
CommitFileListAdapter rootAdapter = adapter.getWrappedAdapter();
rootAdapter.clear();
for (FullCommitFile file : files) {
rootAdapter.addItem(file);
}
for (GitComment comment : comments) {
rootAdapter.addComment(comment);
}
}
Aggregations