Search in sources :

Example 1 with ComicsSeriesAdapteeCollection

use of com.karumi.rosie.sample.comics.view.renderer.ComicsSeriesAdapteeCollection in project Rosie by Karumi.

the class ComicSeriesFragment method initializeAdapter.

private void initializeAdapter() {
    RendererBuilder<ComicSeriesViewModel> rendererBuilder = new ComicSeriesRendererBuilder(presenter);
    comicsCollection = new ComicsSeriesAdapteeCollection();
    comicSeriesAdapter = new RVRendererAdapter<>(rendererBuilder, comicsCollection);
}
Also used : ComicSeriesRendererBuilder(com.karumi.rosie.sample.comics.view.renderer.ComicSeriesRendererBuilder) ComicsSeriesAdapteeCollection(com.karumi.rosie.sample.comics.view.renderer.ComicsSeriesAdapteeCollection) ComicSeriesViewModel(com.karumi.rosie.sample.comics.view.viewmodel.ComicSeriesViewModel)

Aggregations

ComicSeriesRendererBuilder (com.karumi.rosie.sample.comics.view.renderer.ComicSeriesRendererBuilder)1 ComicsSeriesAdapteeCollection (com.karumi.rosie.sample.comics.view.renderer.ComicsSeriesAdapteeCollection)1 ComicSeriesViewModel (com.karumi.rosie.sample.comics.view.viewmodel.ComicSeriesViewModel)1