cc美团滑动删除(SwipeListView)

 cc美团滑动删除(SwipeListView)


<李>


团购片段中

,,私人SwipeListView mListView;


修改lib_pull库中PullToRefreshListView类

公共类PullToRefreshListView PullToRefreshAdapterViewBase<延伸;SwipeListView>{


私人LoadingLayout mHeaderLoadingView;

私人LoadingLayout mFooterLoadingView;

保护类InternalListView SwipeListView延伸实现EmptyViewMethodAccessor {


私人布尔mAddedLvFooter=false;


公共InternalListView(上下文语境,AttributeSet attrs) {

超级(上下文,attrs);}

, & lt; com.handmark.pulltorefresh.library.PullToRefreshListView

,,,,android: id=癅 + id/ptr_list”

,,,,android: layout_below=癅 + id/tuangou_actionbar”

,,,,android: layout_width="宽和"

,,,,android: layout_height="宽和"

,,,,android: cacheColorHint=" # 00000000 "

,,,,android:分频器=" # 19000000 "

,,,,android: dividerHeight=" 4 dp "

,,,,android: fadingEdge="没有"

,,,,android: fastScrollEnabled=" false "

,,,,android: footerDividersEnabled=" false "

,,,,android: headerDividersEnabled=" false "

,,,,android: smoothScrollbar=" true "

,,,,ptr: ptrDrawableStart=" @drawable/refresh_p_w_picpath”,

,,,,ptr: ptrHeaderTextColor=" # C59502”

,,,,ptr: swipeBackView=癅 + id/恢复”

,,,,ptr: swipeCloseAllItemsWhenMoveList=" true "

,,,,ptr: swipeDrawableChecked=" @drawable/choice_selected”

,,,,ptr: swipeDrawableUnchecked=" @drawable/choice_unselected”

,,,,ptr: swipeFrontView=癅 + id/前”

,,,,ptr: swipeMode="都"/祝辞

3

,

5。

 cc美团滑动删除(SwipeListView)

 cc美团滑动删除(SwipeListView)


感谢:国贤,地土,国浈,其鹏,家鑫的帮的忙,新博18班这个大集体,我们会一直互助,一起进步

cc美团滑动删除(SwipeListView)