public abstract class CursorSwipeAdapter extends CursorAdapter implements SwipeItemMangerInterface, SwipeAdapterInterface
| 限定符 | 构造器和说明 |
|---|---|
protected |
CursorSwipeAdapter(android.content.Context context,
android.database.Cursor c,
boolean autoRequery) |
protected |
CursorSwipeAdapter(android.content.Context context,
android.database.Cursor c,
int flags) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
closeAllExcept(SwipeLayout layout) |
void |
closeItem(int position) |
Attributes.Mode |
getMode() |
java.util.List<java.lang.Integer> |
getOpenItems() |
java.util.List<SwipeLayout> |
getOpenLayouts() |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
boolean |
isOpen(int position) |
void |
openItem(int position) |
void |
removeShownLayouts(SwipeLayout layout) |
void |
setMode(Attributes.Mode mode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseAllItemsgetSwipeLayoutResourceIdprotected CursorSwipeAdapter(android.content.Context context,
android.database.Cursor c,
boolean autoRequery)
protected CursorSwipeAdapter(android.content.Context context,
android.database.Cursor c,
int flags)
public android.view.View getView(int position,
android.view.View convertView,
android.view.ViewGroup parent)
public void openItem(int position)
openItem 在接口中 SwipeItemMangerInterfacepublic void closeItem(int position)
closeItem 在接口中 SwipeItemMangerInterfacepublic void closeAllExcept(SwipeLayout layout)
closeAllExcept 在接口中 SwipeItemMangerInterfacepublic java.util.List<java.lang.Integer> getOpenItems()
getOpenItems 在接口中 SwipeItemMangerInterfacepublic java.util.List<SwipeLayout> getOpenLayouts()
getOpenLayouts 在接口中 SwipeItemMangerInterfacepublic void removeShownLayouts(SwipeLayout layout)
removeShownLayouts 在接口中 SwipeItemMangerInterfacepublic boolean isOpen(int position)
isOpen 在接口中 SwipeItemMangerInterfacepublic Attributes.Mode getMode()
getMode 在接口中 SwipeItemMangerInterfacepublic void setMode(Attributes.Mode mode)
setMode 在接口中 SwipeItemMangerInterface