use of saulmm.avengers.views.adapter.AvengersListAdapter in project Avengers by saulmm.
the class CharacterListActivity method bindCharacterList.
@Override
public void bindCharacterList(List<MarvelCharacter> avengers) {
mCharacterListAdapter = new AvengersListAdapter(avengers, this, (position, sharedView, characterImageView) -> {
mAvengersListPresenter.onElementClick(position);
});
mAvengersRecycler.setAdapter(mCharacterListAdapter);
}
Aggregations