You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: etc/sample/app/src/org/jraf/androidcontentprovidergenerator/sample/provider/base/AbstractContentValues.java
Copy file name to clipboardExpand all lines: etc/sample/app/src/org/jraf/androidcontentprovidergenerator/sample/provider/company/CompanyContentValues.java
+11
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@
26
26
27
27
importjava.util.Date;
28
28
29
+
importandroid.content.Context;
29
30
importandroid.content.ContentResolver;
30
31
importandroid.net.Uri;
31
32
importandroid.support.annotation.NonNull;
@@ -52,6 +53,16 @@ public int update(ContentResolver contentResolver, @Nullable CompanySelection wh
52
53
returncontentResolver.update(uri(), values(), where == null ? null : where.sel(), where == null ? null : where.args());
53
54
}
54
55
56
+
/**
57
+
* Update row(s) using the values stored by this object and the given selection.
58
+
*
59
+
* @param contentResolver The content resolver to use.
60
+
* @param where The selection to use (can be {@code null}).
Copy file name to clipboardExpand all lines: etc/sample/app/src/org/jraf/androidcontentprovidergenerator/sample/provider/manual/ManualContentValues.java
+11
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@
26
26
27
27
importjava.util.Date;
28
28
29
+
importandroid.content.Context;
29
30
importandroid.content.ContentResolver;
30
31
importandroid.net.Uri;
31
32
importandroid.support.annotation.NonNull;
@@ -52,6 +53,16 @@ public int update(ContentResolver contentResolver, @Nullable ManualSelection whe
52
53
returncontentResolver.update(uri(), values(), where == null ? null : where.sel(), where == null ? null : where.args());
53
54
}
54
55
56
+
/**
57
+
* Update row(s) using the values stored by this object and the given selection.
58
+
*
59
+
* @param contentResolver The content resolver to use.
60
+
* @param where The selection to use (can be {@code null}).
0 commit comments