Add warning about using MergeCursor in CursorAdapter

BUG: 10606539
Change-Id: I0b0835e2dadb5e3800edd32619c433f9e764cd6e
This commit is contained in:
Alan Viverette
2013-09-26 14:38:14 -07:00
parent 4e9c7d8ba3
commit 647e6bd997

View File

@@ -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 {