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

Commit 015bcd4d authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Add warning about using MergeCursor in CursorAdapter" into klp-dev

parents 723ad75e 647e6bd9
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 {