use of com.github.pedrovgs.sample.renderer.rendererbuilder.TvShowCollectionRendererBuilder in project DraggablePanel by pedrovgs.
the class MainModule method provideTvShowCollectionRendererBuilder.
/**
* Provisioning of a RendererBuilder implementation to work with tv shows ListView. More
* information in this library: {@link https://github.com/pedrovgs/Renderers}
*/
@Provides
protected TvShowCollectionRendererBuilder provideTvShowCollectionRendererBuilder(Context context) {
List<Renderer<TvShowViewModel>> prototypes = new LinkedList<Renderer<TvShowViewModel>>();
prototypes.add(new TvShowRenderer(context));
return new TvShowCollectionRendererBuilder(prototypes);
}
Aggregations