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
This would return all rows which contain the given rowData.
The question is, is that even possible at all? RowData is added to a ContentProviderOperation.Builder and requires a TransactionContext to do so. We could certainly subclass the Builder so it builds the actual predicate instead and provide an EmptyTransactionContext but that means you can not select by ids of virtual rows (because you need the TransactionContext). In most cases that's not an issue but in some edge cases it is.
The text was updated successfully, but these errors were encountered:
For testing purposes it can be useful to have a
Predicate
which takesRowData
and matches all rows which contain the givenRowData
.Usage:
This would return all rows which contain the given rowData.
The question is, is that even possible at all?
RowData
is added to aContentProviderOperation.Builder
and requires aTransactionContext
to do so. We could certainly subclass the Builder so it builds the actual predicate instead and provide anEmptyTransactionContext
but that means you can not select by ids of virtual rows (because you need theTransactionContext
). In most cases that's not an issue but in some edge cases it is.The text was updated successfully, but these errors were encountered: