Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 647e6bd9 authored by Alan Viverette's avatar Alan Viverette
Browse files

Add warning about using MergeCursor in CursorAdapter

BUG: 10606539
Change-Id: I0b0835e2dadb5e3800edd32619c433f9e764cd6e
parent 4e9c7d8b
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -27,8 +27,12 @@ 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.
 * {@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 {