BoD / android-contentprovider-generator

A tool to generate Android ContentProviders.
GNU General Public License v3.0
619 stars 151 forks source link

Notify option is not respected by *ContentValues.update method #92

Open zhcnxf opened 8 years ago

zhcnxf commented 8 years ago

The generated SomeModelContentValues.update(Context context, SomeModelSelection where) method uses uri() where where.uri() should be used. And likewise the SomeModelContentValues.update(ContentProvider contentProvider, SomeModelSelection where) method.

I've issued a pull request to fix this problem and make some other improvements.

Or please edit the contentprovider.ftl file and fix this problem. Thanks.

BoD commented 8 years ago

Sorry to reply almost a year too late. I think uri() and where.uri() return the same thing, which is SomeModelColumns.CONTENT_URI. Did I miss something?