Search in sources :

Example 1 with PullRequestBranchInfoView

use of com.gh4a.widget.PullRequestBranchInfoView in project gh4a by slapperwan.

the class PullRequestFragment method bindSpecialViews.

@Override
protected void bindSpecialViews(View headerView) {
    if (!mHasLoadedHeadReference) {
        return;
    }
    PullRequestBranchInfoView branchContainer = headerView.findViewById(R.id.branch_container);
    branchContainer.bind(mPullRequest.head(), mPullRequest.base(), mHeadReference);
    branchContainer.setVisibility(View.VISIBLE);
}
Also used : PullRequestBranchInfoView(com.gh4a.widget.PullRequestBranchInfoView)

Aggregations

PullRequestBranchInfoView (com.gh4a.widget.PullRequestBranchInfoView)1