Collection bindings

12 views
Skip to first unread message

Thomas Matthijs

unread,
Nov 21, 2010, 5:55:33 AM11/21/10
to bin...@googlegroups.com
Hey,

Would it be possible to add an option to automatically consider generic types for generating bindings aswel

So for example

@Bindable
public class Foobar {
   public List<Serenity> ships;
}

would also create a SerenityBinding.

I understand you can't simply navigate into them. But it would reduce the amount of @Bindable you need to add, and keep updated.
I'm also using a little trick to have Bindings on 3rd party classes by making a little
@Bindable
public class Bindables {
  public Some3rdPartyClass foo;
}

But I have to add a field like that for every class Some3rdPartyClass uses in a List<> for example aswel. Would be nice if those where found & generated automaticly.

mvg,

Stephen Haberman

unread,
Nov 21, 2010, 1:54:10 PM11/21/10
to bin...@googlegroups.com
Hi Thomas,

> Would it be possible to add an option to automatically consider
> generic types for generating bindings

Hm...yeah, I think that is reasonable. I pushed out a 2.20 release
which has this feature, if I implemented it correctly.

Thanks for the feedback!

- Stephen

Thomas Matthijs

unread,
Nov 25, 2010, 3:26:33 PM11/25/10
to bin...@googlegroups.com
On Sun, Nov 21, 2010 at 7:54 PM, Stephen Haberman <ste...@exigencecorp.com> wrote:
Hi Thomas,

> Would it be possible to add an option to automatically consider
> generic types for generating bindings

Hm...yeah, I think that is reasonable. I pushed out a 2.20 release
which has this feature, if I implemented it correctly.


Works great, Thank you. 
Reply all
Reply to author
Forward
0 new messages