Search in sources :

Example 1 with CharactersAdapteeCollection

use of com.karumi.rosie.sample.characters.view.renderer.CharactersAdapteeCollection in project Rosie by Karumi.

the class CharactersFragment method initializeAdapter.

private void initializeAdapter() {
    RendererBuilder<CharacterViewModel> rendererBuilder = new CharacterRendererBuilder(presenter);
    charactersCollection = new CharactersAdapteeCollection();
    charactersAdapter = new RVRendererAdapter<>(rendererBuilder, charactersCollection);
}
Also used : CharacterRendererBuilder(com.karumi.rosie.sample.characters.view.renderer.CharacterRendererBuilder) CharacterViewModel(com.karumi.rosie.sample.characters.view.viewmodel.CharacterViewModel) CharactersAdapteeCollection(com.karumi.rosie.sample.characters.view.renderer.CharactersAdapteeCollection)

Aggregations

CharacterRendererBuilder (com.karumi.rosie.sample.characters.view.renderer.CharacterRendererBuilder)1 CharactersAdapteeCollection (com.karumi.rosie.sample.characters.view.renderer.CharactersAdapteeCollection)1 CharacterViewModel (com.karumi.rosie.sample.characters.view.viewmodel.CharacterViewModel)1