android-contentprovider-generator icon indicating copy to clipboard operation
android-contentprovider-generator copied to clipboard

Notify option is not respected by *ContentValues.update method

Open zhcnxf opened this issue 10 years ago • 1 comments

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.

zhcnxf avatar Dec 16 '15 05:12 zhcnxf

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?

BoD avatar Oct 23 '16 18:10 BoD