public abstract class FullCursorAdapter extends Object
Adapter, this implementation creates views for every row in a cursor
at once. It is helpful when you are sure that there will always be a few of rows and your app
will not run out of memory because of creating too many views. Widgets that use FullCursorAdapter
do not provide neither scrolling nor view recycling because all views are always visible.
However you can include such view into a ScrollView just in case some child views wouldn't fit
on some small screens.| Constructor and Description |
|---|
FullCursorAdapter(android.content.Context context) |
FullCursorAdapter(android.content.Context context,
android.database.Cursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
bindView(android.database.Cursor cursor,
android.view.View view) |
protected abstract android.view.View |
createView(android.database.Cursor cursor,
android.view.ViewGroup root) |
android.content.Context |
getContext() |
android.database.Cursor |
getCursor() |
FullCursorView |
getTargetView() |
void |
setTargetView(FullCursorView targetView) |
android.database.Cursor |
swapCursor(android.database.Cursor cursor) |
public FullCursorAdapter(android.content.Context context)
public FullCursorAdapter(android.content.Context context,
android.database.Cursor cursor)
public android.database.Cursor swapCursor(android.database.Cursor cursor)
public android.database.Cursor getCursor()
public FullCursorView getTargetView()
public void setTargetView(FullCursorView targetView)
public android.content.Context getContext()
protected abstract android.view.View createView(android.database.Cursor cursor,
android.view.ViewGroup root)
protected abstract void bindView(android.database.Cursor cursor,
android.view.View view)
Copyright © 2015. All Rights Reserved.