Created
May 2, 2017 18:49
-
-
Save FireZenk/4dd3b21f668480f886239240c7ed6944 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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