Search in sources :

Example 1 with TimelineItemAdapter

use of com.gh4a.adapter.timeline.TimelineItemAdapter in project gh4a by slapperwan.

the class IssueFragmentBase method onCreateAdapter.

@Override
protected RootAdapter<TimelineItem, ? extends RecyclerView.ViewHolder> onCreateAdapter() {
    mAdapter = new TimelineItemAdapter(getActivity(), mRepoOwner, mRepoName, mIssue.number(), mIssue.pullRequest() != null, true, this);
    mAdapter.setLocked(isLocked());
    return mAdapter;
}
Also used : TimelineItemAdapter(com.gh4a.adapter.timeline.TimelineItemAdapter)

Aggregations

TimelineItemAdapter (com.gh4a.adapter.timeline.TimelineItemAdapter)1