public class NotificationsCursorAdapter extends CursorAdapter
FLAG_AUTO_REQUERY, FLAG_REGISTER_CONTENT_OBSERVER
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
Constructor and Description |
---|
NotificationsCursorAdapter(Context context,
Cursor c)
Constructor
|
NotificationsCursorAdapter(Context context,
Cursor c,
boolean autoRequery)
Constructor
|
NotificationsCursorAdapter(Context context,
Cursor c,
String key)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
bindView(View view,
Context context,
Cursor cursor) |
View |
newView(Context context,
Cursor cursor,
ViewGroup parent) |
changeCursor, convertToString, getCount, getCursor, getDropDownView, getFilter, getFilterQueryProvider, getItem, getItemId, getView, hasStableIds, init, newDropDownView, onContentChanged, runQueryOnBackgroundThread, setFilterQueryProvider, swapCursor
areAllItemsEnabled, getItemViewType, getViewTypeCount, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver
public NotificationsCursorAdapter(Context context, Cursor c)
context
- Application contextc
- Database cursorpublic NotificationsCursorAdapter(Context context, Cursor c, String key)
context
- Application contextc
- Database cursorkey
- Database key