| 接口 | 说明 |
|---|---|
| SmartSwipe.IWrapperFactory | |
| SmartSwipeBack.ActivitySwipeBackFilter | |
| SmartSwipeBack.IPreviousFinder | |
| SmartSwipeBack.SwipeBackConsumerFactory | |
| SmartSwipeRefresh.SmartSwipeRefreshDataLoader |
The refresh data loader
When refresh or load more event emits, its methods will be called
|
| SmartSwipeRefresh.SmartSwipeRefreshFooter | |
| SmartSwipeRefresh.SmartSwipeRefreshHeader | |
| SmartSwipeRefresh.SmartSwipeRefreshViewCreator |
| 类 | 说明 |
|---|---|
| SmartSwipe |
A smart swipe util to wrap a view and consume swipe event to do some business via
SwipeConsumer
classic usage:
SmartSwipe.wrap(view) //specific the view to wrap
.addConsumer(new StretchConsumer()) // add consumer to consume swipe event
.enableVertical(); //enable consumer`s direction(s)
|
| SmartSwipeBack |
A tool for achieving a one-line global activity swipe back via using some
SwipeConsumer
simple usage:
//add swipe translucent back performance for all activities
// (default direction: left, previous activity related factor:0.5F)
SmartSwipeBack.activitySlidingBack(this, new SmartSwipeBack.ActivitySwipeBackFilter() {
public boolean onFilter(Activity activity) {
return ! |
| SmartSwipeBack.ActivitySwipeBackListener | |
| SmartSwipeRefresh |
A wrapper of DrawerConsumer(or SlidingConsumer) to build Refresh util for View(s)
Supports for: View/ViewGroup/LinearLayout/RelativeLayout/ListView/RecyclerView/WebView/etc...
|
| SmartSwipeWrapper |
a wrapper to wrap the content view, handle motion events to do swipe business by
SwipeHelper and SwipeConsumer |
| SmartSwipeWrapper.LayoutParams | |
| SwipeConsumer |
Base class to consume swipe motion event,
all subclasses should manage the following 4 direction swipes:
1.
|
| SwipeConsumerExclusiveGroup |
manage a group of SwipeConsumer(s), only single one SwipeConsumer can be mark as the current one, the original SwipeConsumer will be close
|