Grokking Android

Getting Down to the Nitty Gritty of Android Development

Posts tagged “withValueBackReference()”:

Android’s ContentProviderOperation: “withBackReference” explained


The class ContentProviderOperation.Builder has a method named withValueBackReference(String key, int previousResult). The API states ominously “Add a ContentValues back reference. A column value from the back references takes precedence over a value specified in withValues(ContentValues)”. Now, thank you, Google! That about explains everything! Android’s documentation is never short of surprises. A lot of stuff is […]  Continue Reading  “Android’s ContentProviderOperation: “withBackReference” explained”