News for hackers. Stuff that matters.
Re:Show HN: Bindroid - a data binding framework for Android by readme on Monday March 18, 2013 @04:05AM (#5393003)
Looks like a great idea. I have a few questions about it:

1. How does this work if you're using it in a ListAdapter? Should it even be used there?

2. It seems like it would play nice with jackson, as jackson will only call your setters and getters if they're there, anyway. Are you using it alongside any serialization libraries or ORMs?

Re:Show HN: Bindroid - a data binding framework for Android by depoll on Monday March 18, 2013 @04:13AM (#5393023)
OP here.

1. Instead of using a ListAdapter, I've provided a "BoundCollectionAdapter": http://depoll.github.com/bindroid/docs/com/bindroid/ui/Bound... If you use a TrackableCollection (or any other list), this adapter will track the changes to that collection.

2. I don't know a huge amount about Jackson -- I've used my own libraries for JSON serialization within my apps since they need to interoperate across Windows Phone, Android, and iOS. Taking a quick look at the tutorials there, it looks like it should play very nicely with Bindroid.

Re:Show HN: Bindroid - a data binding framework for Android by readme on Monday March 18, 2013 @05:17AM (#5393181)
BoundCollectionAdapter! Nice!

I will check it out.

Re:Show HN: Bindroid - a data binding framework for Android by depoll on Monday March 18, 2013 @05:21AM (#5393194)
When you're using this with a binding, you can easily produce one of these using AdapterConverter (http://depoll.github.com/bindroid/docs/com/bindroid/converte...). This takes a list and produces a BoundCollectionAdapter, all set up and ready to go. The BindroidSample project has a simple example of how you'd use this.
Re:Show HN: Bindroid - a data binding framework for Android by littledot5566 on Monday March 18, 2013 @04:10AM (#5393016)
1. I don't think ListAdapters can be bound because ListViews recycle views. I don't think you can bind 1 view to many objects.