Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Springview | 1,841 | 5 | 3 years ago | 2 | April 14, 2019 | 77 | apache-2.0 | Java | ||
🔥 A custom view pull to refresh,support ScrollView,ListView,RecyclerView,WebView and all another views, easy to use | ||||||||||
Blogpost Codesample Pulltorefresh | 489 | 8 years ago | 1 | Objective-C | ||||||
A custom pull to refresh animation where timeOffset is used to control the timing as you drag down | ||||||||||
Droplistview | 57 | 8 years ago | Java | |||||||
Another PullToRefreshList with drop effect. | ||||||||||
Lightbulb Easyrecyclerview | 5 | 19 days ago | apache-2.0 | Kotlin | ||||||
EasyRecyclerView is an all-in-one easy to use RecyclerView library for Android that allows you to create custom and interactive user interfaces quickly and efficiently. With its lightweight and fully customizable code, EasyRecyclerView is the perfect solution for any app developer looking to create beautiful and responsive RecyclerViews. | ||||||||||
Pulltorefresh | 3 | 6 years ago | JavaScript | |||||||
a plugin of pullupToLoading and pulldownToRefresh | ||||||||||
Vue Swipeable | 3 | 3 years ago | mit | TypeScript | ||||||
Vue-swipeable is a Vue directive that serves multiple purposes on mobile devices (swipe-away, pull-to-refresh, swipe-to-reveal). |
More, please visit:My CSDN apk demo:download 中文文档:中文文档
SpringView is one provides the function of the upper and lower drag and drop components, can be highly customized, implement all kinds of drop-down \ pull painting effect, implementation in the demo: imitation ali travel, imitation Meituan, imitation QQ drop-down brush red envelopes, imitation acfun etc., is fully compatible with the source control such as ListView, RecyclerView, ScrollView, WebView, etc., using a simple, easily customize their style of drag and drop page
SpringView Individual independence will head/foot, almost achieve the effect of whatever you want, just need to inherit BaseHeader (or Footer) to implement the interface
SpringView Can dynamically replace the head/tail, you just need to set up different Footer:springView.setHeader(MyHeader());
SpringView Multi-touch support, can two hands drag and drop in a row, you can customize some interesting results
SpringView Provides two methods for drag and drop (overlap and follow), can be dynamically switching
SpringView For lazy people don't want to go to the custom head/tail provides 7 kinds of the default implementation (mimics the ali, tencent, Meituan etc. Various style) as follows, will continue to increase
SpringView support AppBarLayout
📌new:
Add Spring View in the layout file, note that Spring View and ScrollView have the same limitation: only one child element:
<com.liaoinstan.springview.widget.SpringView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:header="@layout/myheader"
app:footer="@layout/myfooter">
<ListView RecyclerView ScrollView or others
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</com.liaoinstan.springview.widget.SpringView>
Of course, you can also add the header/footer in java code:
springView.setHeader(new DefaultHeader(this));
springView.setFooter(new DefaultFooter(this));
If you need to deal with the case, just add a listener in code:
springView.setListener(new SpringView.OnFreshListener() {
@Override
public void onRefresh() {
}
@Override
public void onLoadmore() {
}
});
use Gradle:
dependencies {
//SpringView core library (only include DefaultHeader/Footer)
implementation 'com.liaoinstan.springview:library:1.7.0'
//other Headers/Footers, choose one or more that you like
implementation 'com.liaoinstan.springview:AcfunHeader:1.7.0' //AcFun style (header and footer)
implementation 'com.liaoinstan.springview:AliHeader:1.7.0' //Alitrip style (header and footer)
implementation 'com.liaoinstan.springview:MeituanHeader:1.7.0' //Meituan style (header and footer)
implementation 'com.liaoinstan.springview:RotationHeader:1.7.0' //Mechanical gear style (header and footer)
implementation 'com.liaoinstan.springview:WeixinHeader:1.7.0' //WeChat Mini Program header(only header)
implementation 'com.liaoinstan.springview:DuHeader:1.7.0' //Du app header(only header)
}
or Maven:
<dependency>
<groupId>com.liaoinstan.springview</groupId>
<artifactId>library</artifactId>
<version>1.7.0</version>
<type>pom</type>
</dependency>
If there are any questions or Suggestions, please feedback to my email: [email protected]; Or in my blog
If it works to you, please give me a star for my hardwork ,thank you
More, please visit:my CSDN blog