Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FireZenk/4dd3b21f668480f886239240c7ed6944 to your computer and use it in GitHub Desktop.
Save FireZenk/4dd3b21f668480f886239240c7ed6944 to your computer and use it in GitHub Desktop.
public CustomRendererBuilder(PublishSubject<Long> animationTimer) {
ListAdapteeCollection<Renderer<? extends Item>> prototypes = new
ListAdapteeCollection<>();
prototypes.add(new CustomRenderer(animationTimer));
setPrototypes(prototypes);
}
@Override protected Class getPrototypeClass(Item item) {
return CustomRenderer.class;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment