public class AlarmClocksCursorAdapter
extends android.support.v4.widget.CursorAdapter
Provides a custom ArrayAdapter for the AlarmClock class.
Can be used, for example, to populate ListViews with alarm clocks.
Constructor and Description |
---|
AlarmClocksCursorAdapter(android.content.Context context,
android.database.Cursor cursor) |
Modifier and Type | Method and Description |
---|---|
void |
bindView(android.view.View view,
android.content.Context context,
android.database.Cursor cursor) |
android.view.View |
newView(android.content.Context context,
android.database.Cursor cursor,
android.view.ViewGroup parent) |
changeCursor, convertToString, getCount, getCursor, getDropDownView, getFilter, getFilterQueryProvider, getItem, getItemId, getView, hasStableIds, init, newDropDownView, onContentChanged, runQueryOnBackgroundThread, setFilterQueryProvider, swapCursor
public AlarmClocksCursorAdapter(android.content.Context context, android.database.Cursor cursor)
public android.view.View newView(android.content.Context context, android.database.Cursor cursor, android.view.ViewGroup parent)
newView
in class android.support.v4.widget.CursorAdapter
public void bindView(android.view.View view, android.content.Context context, android.database.Cursor cursor)
bindView
in class android.support.v4.widget.CursorAdapter