Search in sources :

Example 1 with EventAdapter

use of com.gh4a.adapter.EventAdapter in project gh4a by slapperwan.

the class EventListFragment method onCreateAdapter.

@Override
protected RootAdapter<GitHubEvent, ? extends RecyclerView.ViewHolder> onCreateAdapter() {
    mAdapter = new EventAdapter(getActivity());
    mAdapter.setContextMenuSupported(true);
    return mAdapter;
}
Also used : EventAdapter(com.gh4a.adapter.EventAdapter)

Aggregations

EventAdapter (com.gh4a.adapter.EventAdapter)1