public abstract class HelperRecyclerViewAnimAdapter<T> extends HelperRecyclerViewAdapter
描述:继承于HelperRecyclerViewAdapter提供Itme动画效果便捷操作的baseAdapter
作者: zhouyou
日期: 2016/11/1 11:29
版本: v2.0
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
HelperRecyclerViewAnimAdapter.CustomAnimator |
BaseRecyclerViewAdapter.OnItemClickListener<T>, BaseRecyclerViewAdapter.OnItemLongClickListener<T>mContext, mLayoutIds, mLInflater, mList| 构造器和说明 |
|---|
HelperRecyclerViewAnimAdapter(android.content.Context context) |
HelperRecyclerViewAnimAdapter(android.content.Context context,
int... layoutIds) |
HelperRecyclerViewAnimAdapter(java.util.List data,
android.content.Context context) |
HelperRecyclerViewAnimAdapter(java.util.List data,
android.content.Context context,
int... layoutId) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addAnimation(BH holder) |
void |
onBindViewHolder(BH holder,
int position) |
void |
setCustomItemAnimator(HelperRecyclerViewAnimAdapter.CustomAnimator customAnimator) |
void |
setItemAnimation(AnimationType animationType)
Animation api
|
void |
setItemAnimationDuration(int animationDuration) |
void |
setItemAnimationInterpolator(android.view.animation.Interpolator animationInterpolator) |
void |
setShowItemAnimationEveryTime(boolean showItemAnimationEveryTime) |
add, addAll, addAndNotifyItems, addItemsToHead, addItemsToLast, addItemToHead, addItemToLast, alterObj, alterObj, clear, contains, createViewHolder, getData, getList, HelperBindData, isEnabled, onBindData, remove, removeToIndex, replaceAll, setListAll, setListenercheckLayout, getItemCount, getItemViewType, inflateItemView, isEmpty, onBindItemClickListener, onBindViewHolder, onCreateViewHolder, setOnItemClickListener, setOnItemLongClickListenerpublic HelperRecyclerViewAnimAdapter(java.util.List data,
android.content.Context context,
int... layoutId)
public HelperRecyclerViewAnimAdapter(android.content.Context context,
int... layoutIds)
public HelperRecyclerViewAnimAdapter(android.content.Context context)
public HelperRecyclerViewAnimAdapter(java.util.List data,
android.content.Context context)
public void onBindViewHolder(BH holder, int position)
protected final void addAnimation(BH holder)
public void setItemAnimation(AnimationType animationType)
public void setItemAnimationDuration(int animationDuration)
public void setItemAnimationInterpolator(android.view.animation.Interpolator animationInterpolator)
public void setShowItemAnimationEveryTime(boolean showItemAnimationEveryTime)
public void setCustomItemAnimator(HelperRecyclerViewAnimAdapter.CustomAnimator customAnimator)