A quick tip:
To delete all rows from content provider, call
URI - the authorities string of the provider
"1" - Returns the count
null - there are no selection arguments. All rows needs to be deleted. So, null.
To delete all rows from content provider, call
provider.delete(uri, "1", null);
URI - the authorities string of the provider
"1" - Returns the count
null - there are no selection arguments. All rows needs to be deleted. So, null.
No comments:
Post a Comment