public abstract class SimpleCursorSwipeAdapter extends SimpleCursorAdapter implements SwipeItemMangerInterface, SwipeAdapterInterface
| 限定符 | 构造器和说明 |
|---|---|
protected |
SimpleCursorSwipeAdapter(android.content.Context context,
int layout,
android.database.Cursor c,
java.lang.String[] from,
int[] to) |
protected |
SimpleCursorSwipeAdapter(android.content.Context context,
int layout,
android.database.Cursor c,
java.lang.String[] from,
int[] to,
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 SimpleCursorSwipeAdapter(android.content.Context context,
int layout,
android.database.Cursor c,
java.lang.String[] from,
int[] to,
int flags)
protected SimpleCursorSwipeAdapter(android.content.Context context,
int layout,
android.database.Cursor c,
java.lang.String[] from,
int[] to)
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