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.
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?
The generated
SomeModelContentValues.update(Context context, SomeModelSelection where)
method usesuri()
wherewhere.uri()
should be used. And likewise theSomeModelContentValues.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.