History log of /frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7158b6705d330ac1e61d5aa51c51b54507c4ab88 17-Dec-2014 Jay Shrauner <shrauner@google.com> Fix StaleDataExceptions

In ensureCacheValid, check whether the cursor is closed before
querying its count. In getItem, check whether the cursor is closed
before moving it to position, as was already being done in getItemId.

Bug:18815354
Change-Id: I4cf2509923695afe9499d0507383c4e0d51bd23e
/frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java
e93a23581cbb9da2282b5897ffc167f86836afae 15-Aug-2014 Nancy Chen <nancychen@google.com> Add public method to check if the partition is empty.

Currently the size of the partition is hidden from public. The isEmpty
method will allow outside classes to check if the partition does not
have any entries in it.

Bug: 15596340
Change-Id: I0a0f8f7c7a350b802e58e9138801c13b6e74a059
/frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java
9a4f02a8eaf7eb3991900231dbea250e4fb34553 26-Aug-2013 Alon Albert <aalbert@google.com> Refactor List<Partition> to Partition[]

And add an addPartition(int location, Partition partition) method.
The refactoring make adding this method much easier.

Change-Id: Ife051b19837c2719e9487d7bc4f14095e76cc141
/frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java
53f35c7c31f31db40b106cc0f7a51f5daf40a7fd 28-May-2013 Yorke Lee <yorkelee@google.com> Fix for CompositeCursorAdapter returning wrong item view types

Cherrypick of
https://googleplex-android-review.googlesource.com/#/c/306995/,

which fixes the bug that causes getItemViewType to be called
with the wrong position, causing new views to be created
unnecessarily.

Bug: 8398321
Change-Id: I6c921fe7d5135cf9f9d9bdd08b5aa4df7662ac1c
/frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java
7c76d5f2cd2cc35e7c4f33264d5f281c96351377 20-Jan-2011 Gilles Debunne <debunne@google.com> Preventive fix in setNotificationsEnabled

This code
setNotificationsEnabled(false);
...
notifyDataChanged();
...
setNotificationsEnabled(false);

should not notify that a change happended.

Change-Id: Ia639530dcc2a34c24a7edbe2d2ba3530d22cacb9
/frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java
55f04311fb40ccadb224f1a4dc1b8ff473dfdf03 01-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Correct formating of an email when name is unknown

Also, reducing the number of change notifications

Change-Id: If075fee9a96dc8191c264fc34162969afe4027b6
/frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java
5cc774535d73c09b6788b63ecc728e60da09cfa9 27-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> General purpose email address autocomplete

Change-Id: I3545805e2e31eb645c54394545f625b35a6e366f
/frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java
60ae52719e0567fa5b1860df19807716951eca50 20-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Moving CompositeCursorAdapter from contacts/widget to common/widget

The class has been used in contacts for a while,
now it will be shared with Gmail, Email and Calendar
for the purposes of integration with Directory API.

Change-Id: I86258dfff426e246d7791b737af574c47b935c7f
/frameworks/ex/common/java/com/android/common/widget/CompositeCursorAdapter.java