summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alan Viverette <alanv@google.com> 2013-09-27 18:03:47 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-09-27 18:03:47 +0000
commit015bcd4dd43b850ef209c64dae9c08ccaef9ea80 (patch)
tree4a91dc5164f18dea15c935bc3e785d02a3c999c1
parent723ad75e107f57dc541dfca600745895e1251974 (diff)
parent647e6bd99779d67798422ac8ae83e8085238d349 (diff)
Merge "Add warning about using MergeCursor in CursorAdapter" into klp-dev
-rw-r--r--core/java/android/widget/CursorAdapter.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/java/android/widget/CursorAdapter.java b/core/java/android/widget/CursorAdapter.java
index 6c4c39d9456f..d4c5be0615a7 100644
--- a/core/java/android/widget/CursorAdapter.java
+++ b/core/java/android/widget/CursorAdapter.java
@@ -26,9 +26,13 @@ import android.view.View;
import android.view.ViewGroup;
/**
- * Adapter that exposes data from a {@link android.database.Cursor Cursor} to a
- * {@link android.widget.ListView ListView} widget. The Cursor must include
- * a column named "_id" or this class will not work.
+ * Adapter that exposes data from a {@link android.database.Cursor Cursor} to a
+ * {@link android.widget.ListView ListView} widget.
+ * <p>
+ * The Cursor must include a column named "_id" or this class will not work.
+ * Additionally, using {@link android.database.MergeCursor} with this class will
+ * not work if the merged Cursors have overlapping values in their "_id"
+ * columns.
*/
public abstract class CursorAdapter extends BaseAdapter implements Filterable,
CursorFilter.CursorFilterClient {