mitmel / SimpleContentProvider

A simple ContentProvider for Android
http://mobile.mit.edu/
Other
79 stars 32 forks source link

Improve m2m helper #1

Open xxv opened 12 years ago

xxv commented 12 years ago

The existing ManyToMany helper provides basic functionality, but there is a lot of room for improvement. It's not entirely easy to discover and use the relationship between tables and how to construct appropriate URLs for querying parent/children.

It would probably be a good idea to look deeper at what Django and Hibernate provide in terms of this and see what can be done while still sticking to the URI-centric worldview and ContentProvider API.

xxv commented 12 years ago

Turns out, the existing M2MHelper was half-finished, broken and never tested. That's being fixed.