On Mon, May 5, 2014 at 1:04 PM, Karel Piwko <kpiwko@redhat.com> wrote:
Do you guys plan to only replace factory pattern by registrations or also
include second part of the Tadeas' proposal - making generics a first class
citizen of API?

Both. Registrations and making (but not so) generics a first class citizen

Take a look of this example[1].

[1] https://gist.github.com/danielpassos/088498b553699f23ff51 
 
Thanks,

Karel

On Mon, 5 May 2014 10:40:07 -0300
Daniel Passos <daniel@passos.me> wrote:

> A long time ago Tadeas Kriz had a awesome idea to kill the ugly factory and
> replace it for registrations[1]. Summers and I have been thinking about it
> and we'd like to replace it in 2.0. So, we are starting the new agdroid
> library for offline and we'd like start it using registrations[2] instead
> Factory.
>
> Wdyt? [1] https://gist.github.com/TadeasKriz/e0f5583e2a24c32dc253 [2]
> https://gist.github.com/danielpassos/088498b553699f23ff51

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev