Search in sources :

Example 6 with CommitFileChanges

use of com.fastaccess.data.dao.CommitFileChanges in project FastHub by k0shk0sh.

the class PullRequestFilesViewHolder method onItemClick.

@Override
public void onItemClick(int position, View v, CommitLinesModel item) {
    if (onPatchClickListener != null && adapter != null) {
        int groupPosition = getAdapterPosition();
        CommitFileChanges commitFileChanges = (CommitFileChanges) adapter.getItem(groupPosition);
        onPatchClickListener.onPatchClicked(groupPosition, position, v, commitFileChanges.getCommitFileModel(), item);
    }
}
Also used : CommitFileChanges(com.fastaccess.data.dao.CommitFileChanges)

Aggregations

CommitFileChanges (com.fastaccess.data.dao.CommitFileChanges)6 BindString (butterknife.BindString)1 CommentRequestModel (com.fastaccess.data.dao.CommentRequestModel)1 CommitLinesModel (com.fastaccess.data.dao.CommitLinesModel)1 CommitLinesAdapter (com.fastaccess.ui.adapter.CommitLinesAdapter)1