{"id":15108829,"url":"https://github.com/yalantis/pull-to-make-soup","last_synced_at":"2025-05-16T04:04:58.898Z","repository":{"id":57729850,"uuid":"58631151","full_name":"Yalantis/pull-to-make-soup","owner":"Yalantis","description":"Custom animated pull-to-refresh that can be easily added to RecyclerView","archived":false,"fork":false,"pushed_at":"2022-09-22T10:09:15.000Z","size":777,"stargazers_count":1438,"open_issues_count":1,"forks_count":224,"subscribers_count":56,"default_branch":"master","last_synced_at":"2025-04-20T07:40:57.318Z","etag":null,"topics":["android","animation","java","pull-to-refresh","recyclerview"],"latest_commit_sha":null,"homepage":"https://yalantis.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yalantis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-12T10:16:55.000Z","updated_at":"2025-03-30T00:20:39.000Z","dependencies_parsed_at":"2022-08-30T09:10:39.281Z","dependency_job_id":null,"html_url":"https://github.com/Yalantis/pull-to-make-soup","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2Fpull-to-make-soup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2Fpull-to-make-soup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2Fpull-to-make-soup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2Fpull-to-make-soup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yalantis","download_url":"https://codeload.github.com/Yalantis/pull-to-make-soup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464895,"owners_count":22075570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","animation","java","pull-to-refresh","recyclerview"],"created_at":"2024-09-25T22:41:06.036Z","updated_at":"2025-05-16T04:04:55.480Z","avatar_url":"https://github.com/Yalantis.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PullToMakeSoup\n\nCustom animated pull-to-refresh that can be easily added to RecyclerView\n\n[![Yalantis](https://raw.githubusercontent.com/Yalantis/PullToMakeSoup/master/PullToMakeSoupDemo/Resouces/badge_dark.png)](https://yalantis.com/?utm_source=github)\n\n[![Android Gems](http://www.android-gems.com/badge/Yalantis/pull-to-make-soup.svg?branch=master)](http://www.android-gems.com/lib/Yalantis/pull-to-make-soup)\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-PullToMakeSoup-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/3588)\n\n\nInspired by [this project on dribble](https://dribbble.com/shots/2074667-Recipe-Finder-v-2)\n\n\n\u003cimg src=\"https://raw.githubusercontent.com/Yalantis/PullToMakeSoup/master/PullToMakeSoupDemo/Resouces/recipe-finder.gif\" /\u003e\n\n## Requirements\n\nMin SDK version 16\n\n## Installing with [Gradle](http://gradle.org/)\n\nIn your project level build.gradle\n\n```groovy\n \tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\nIn your app level build.gradle\n\n```groovy\n compile 'com.github.Yalantis:pull-to-make-soup:1.0.2'\n```\n\n## Usage\n\nInclude the library as local library project.\n\nSecond include PullToRefreshView to your layout, with the app:type=\"soup\"\n\n```xml\n\u003ccom.yalantis.pulltomakesoup.PullToRefreshView\n    android:id=\"@+id/pull_to_refresh\"\n    app:type=\"soup\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\u003e\n\n    \u003candroid.support.v7.widget.RecyclerView\n        android:id=\"@+id/recycler_view\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:divider=\"@null\"\n        android:dividerHeight=\"0dp\"\n        android:fadingEdge=\"none\"/\u003e\n\n\u003c/com.yalantis.pulltomakesoup.PullToRefreshView\u003e\n```\n\nNext in your onCreate method refer to the View and setup OnRefreshListener.\n\n```java\nmPullToRefreshView = (PullToRefreshView) findViewById(R.id.pull_to_refresh);\nmPullToRefreshView.setOnRefreshListener(new PullToRefreshView.OnRefreshListener() {\n    @Override\n    public void onRefresh() {}\n});\n```\n\nWhen you need to finish the refreshing call\n\n```java\nmPullToRefreshView.setRefreshing(false);\n```\n\n# Misc\nIf you need to change progress state:\n```java\n\tmPullToRefreshView.setRefreshing(boolean isRefreshing)\n```\n# Compatibility\n  \n  * Android JELLY BEAN 4.1+\n\n### Version: 1.0\n\n  * Initial Build\n \n### Version: 1.0.1\n\n  * Fixed disapearing animation (Flames,cover and water now disapearing properly).\n\n#### Let us know!\n\nWe’d be really happy if you sent us links to your projects where you use our component. Just send an email to github@yalantis.com And do let us know if you have any questions or suggestion regarding the animation. \n\nP.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!\n\n## License\n\n    Copyright 2017, Yalantis\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyalantis%2Fpull-to-make-soup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyalantis%2Fpull-to-make-soup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyalantis%2Fpull-to-make-soup/lists"}