All Projects → Yalantis → Pull To Make Soup

Yalantis / Pull To Make Soup

Custom animated pull-to-refresh that can be easily added to RecyclerView

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Pull To Make Soup

Brv
Android上最强大的RecyclerView库
Stars: ✭ 345 (-76.09%)
Mutual labels:  recyclerview, pull-to-refresh
GeneralRecyclerViewFragment
Can automatically pull down the refresh, pull up the page of RecyclerviewFragment(能够自动下拉刷新,上拉翻页的RecyclerviewFragment)
Stars: ✭ 56 (-96.12%)
Mutual labels:  recyclerview, pull-to-refresh
Xrefreshlayout
【已过时,不再更新,请使用更强大的SmartRefreshLayout!】A refresh layout(无侵入下拉刷新和加载布局), can refresh RecyclerView for all LayoutManager, NestedScrollView。
Stars: ✭ 127 (-91.2%)
Mutual labels:  recyclerview, pull-to-refresh
Ultimaterefreshview
UltimateRefreshView 实现下拉刷新,上拉加载更多的轻量级库;支持RecyclerView ,ListView ,ScrollView & WebView
Stars: ✭ 64 (-95.56%)
Mutual labels:  recyclerview, pull-to-refresh
Multi Selection
Multiselection Solution for Android in Kotlin
Stars: ✭ 1,361 (-5.68%)
Mutual labels:  recyclerview
Recyclerview Examples
Samples to learn about RecyclerView
Stars: ✭ 87 (-93.97%)
Mutual labels:  recyclerview
Endless Recyclerview
Endless support for RecyclerView
Stars: ✭ 86 (-94.04%)
Mutual labels:  recyclerview
Expandable Recycler View
[DEPRECATED]
Stars: ✭ 1,234 (-14.48%)
Mutual labels:  recyclerview
Vue Recyclerview
Mastering Large Lists with the vue-recyclerview
Stars: ✭ 1,442 (-0.07%)
Mutual labels:  recyclerview
Zoomrecyclerview
A Zoomable RecyclerView for comic
Stars: ✭ 102 (-92.93%)
Mutual labels:  recyclerview
Banner
Android Viewpager rotation control, application guide page controls, support vertical, horizontal cycle scrolling, extended from view support animation, indicator extension and so on;Android viewpager轮播图控件、app引导页控件,支持垂直、水平循环滚动,扩展自viewpager 支持动画,指示器扩展等。
Stars: ✭ 96 (-93.35%)
Mutual labels:  recyclerview
Fungamerefresh
好玩的下拉刷新控件,让我们一起来回味童年
Stars: ✭ 1,307 (-9.42%)
Mutual labels:  pull-to-refresh
React Native Rk Pull To Refresh
a pull to refresh component for react-native, same api on both android and ios
Stars: ✭ 100 (-93.07%)
Mutual labels:  pull-to-refresh
Recyclerviewpresenter
RecyclerView Adapter Library with different models and different layouts as convenient as possible.
Stars: ✭ 86 (-94.04%)
Mutual labels:  recyclerview
Multi Type Adapter
Super simple and easy to use common multi-type-adapter by android data-binding
Stars: ✭ 102 (-92.93%)
Mutual labels:  recyclerview
Pinnedrecyclerview Android
Add a list pinned by a floating label (text or image)
Stars: ✭ 81 (-94.39%)
Mutual labels:  recyclerview
Dragview2fill
ViewDragHelper结合RecyclerView的使用示例
Stars: ✭ 94 (-93.49%)
Mutual labels:  recyclerview
Cartlayout
🦄 使用 RecyclerView 实现店铺分组购物车。 高仿京东购物车、高仿淘宝购物车、高仿天猫购物车
Stars: ✭ 101 (-93%)
Mutual labels:  recyclerview
Recyclerviewdemo
Demo showing the basics to advanced use cases of Android RecyclerView
Stars: ✭ 92 (-93.62%)
Mutual labels:  recyclerview
Recyclerviewheader
[DEPRECATED] Super fast and easy way to create header for Android RecyclerView
Stars: ✭ 1,312 (-9.08%)
Mutual labels:  recyclerview

PullToMakeSoup

Custom animated pull-to-refresh that can be easily added to RecyclerView

Yalantis

Android Gems

Android Arsenal

Inspired by this project on dribble

Requirements

Min SDK version 16

Installing with Gradle

In your project level build.gradle

 	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

In your app level build.gradle

 compile 'com.github.Yalantis:pull-to-make-soup:1.0.2'

Usage

Include the library as local library project.

Second include PullToRefreshView to your layout, with the app:type="soup"

<com.yalantis.pulltomakesoup.PullToRefreshView
    android:id="@+id/pull_to_refresh"
    app:type="soup"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.v7.widget.RecyclerView
        android:id="@+id/recycler_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:divider="@null"
        android:dividerHeight="0dp"
        android:fadingEdge="none"/>

</com.yalantis.pulltomakesoup.PullToRefreshView>

Next in your onCreate method refer to the View and setup OnRefreshListener.

mPullToRefreshView = (PullToRefreshView) findViewById(R.id.pull_to_refresh);
mPullToRefreshView.setOnRefreshListener(new PullToRefreshView.OnRefreshListener() {
    @Override
    public void onRefresh() {}
});

When you need to finish the refreshing call

mPullToRefreshView.setRefreshing(false);

Misc

If you need to change progress state:

	mPullToRefreshView.setRefreshing(boolean isRefreshing)

Compatibility

  • Android JELLY BEAN 4.1+

Version: 1.0

  • Initial Build

Version: 1.0.1

  • Fixed disapearing animation (Flames,cover and water now disapearing properly).

Let us know!

We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation.

P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for Android (iOS) better than better. Stay tuned!

License

Copyright 2017, Yalantis

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].