use of com.yydcdut.note.adapter.recycler.AlbumAdapter in project PhotoNoter by yydcdut.
the class AlbumFragment method setAdapter.
@Override
public void setAdapter(List<PhotoNote> photoNoteList) {
int size = Utils.sScreenWidth / mAlbumPresenter.calculateGridNumber();
mAdapter = new AlbumAdapter(getContext(), photoNoteList, size, this, this);
mRecyclerView.setAdapter(mAdapter);
mRecyclerView.addOnScrollListener(mScrollListener);
}
Aggregations