public abstract class ArraySwipeAdapter<T> extends android.widget.ArrayAdapter implements SwipeItemMangerInterface, SwipeAdapterInterface
| 构造器和说明 |
|---|
ArraySwipeAdapter(android.content.Context context,
int resource) |
ArraySwipeAdapter(android.content.Context context,
int resource,
int textViewResourceId) |
ArraySwipeAdapter(android.content.Context context,
int resource,
int textViewResourceId,
java.util.List<T> objects) |
ArraySwipeAdapter(android.content.Context context,
int resource,
int textViewResourceId,
T[] objects) |
ArraySwipeAdapter(android.content.Context context,
int resource,
java.util.List<T> objects) |
ArraySwipeAdapter(android.content.Context context,
int resource,
T[] objects) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
closeAllExcept(SwipeLayout layout) |
void |
closeAllItems() |
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) |
add, addAll, addAll, clear, createFromResource, getContext, getCount, getDropDownView, getFilter, getItem, getItemId, getPosition, insert, notifyDataSetChanged, remove, setDropDownViewResource, setNotifyOnChange, sortareAllItemsEnabled, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSwipeLayoutResourceIdpublic ArraySwipeAdapter(android.content.Context context,
int resource)
public ArraySwipeAdapter(android.content.Context context,
int resource,
int textViewResourceId)
public ArraySwipeAdapter(android.content.Context context,
int resource,
T[] objects)
public ArraySwipeAdapter(android.content.Context context,
int resource,
int textViewResourceId,
T[] objects)
public ArraySwipeAdapter(android.content.Context context,
int resource,
java.util.List<T> objects)
public ArraySwipeAdapter(android.content.Context context,
int resource,
int textViewResourceId,
java.util.List<T> objects)
public android.view.View getView(int position,
android.view.View convertView,
android.view.ViewGroup parent)
getView 在接口中 android.widget.AdaptergetView 在类中 android.widget.ArrayAdapterpublic void openItem(int position)
openItem 在接口中 SwipeItemMangerInterfacepublic void closeItem(int position)
closeItem 在接口中 SwipeItemMangerInterfacepublic void closeAllExcept(SwipeLayout layout)
closeAllExcept 在接口中 SwipeItemMangerInterfacepublic void closeAllItems()
closeAllItems 在接口中 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