{"id":13396036,"url":"https://github.com/Yalantis/Taurus","last_synced_at":"2025-03-13T22:31:34.166Z","repository":{"id":28625130,"uuid":"32143877","full_name":"Yalantis/Taurus","owner":"Yalantis","description":"A little more fun for the pull-to-refresh interaction. ","archived":false,"fork":false,"pushed_at":"2022-09-22T09:59:57.000Z","size":9539,"stargazers_count":1670,"open_issues_count":6,"forks_count":385,"subscribers_count":77,"default_branch":"master","last_synced_at":"2024-07-31T18:16:20.239Z","etag":null,"topics":["android","animation","java","listview","pull-to-refresh"],"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":"apache-2.0","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-13T08:35:53.000Z","updated_at":"2024-07-21T13:47:19.000Z","dependencies_parsed_at":"2022-07-26T07:17:05.008Z","dependency_job_id":null,"html_url":"https://github.com/Yalantis/Taurus","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FTaurus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FTaurus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FTaurus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FTaurus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yalantis","download_url":"https://codeload.github.com/Yalantis/Taurus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493734,"owners_count":20299710,"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","listview","pull-to-refresh"],"created_at":"2024-07-30T18:00:38.132Z","updated_at":"2025-03-13T22:31:33.313Z","avatar_url":"https://github.com/Yalantis.png","language":"Java","readme":"# Pull-to-Refresh.Tours\n[![Yalantis](https://raw.githubusercontent.com/Yalantis/Taurus/master/badge_dark.png)](https://yalantis.com/?utm_source=github)\n\nThis project aims to provide a simple and customizable pull to refresh implementation.\n\nCheck this [project on Behance] (https://www.behance.net/gallery/20411445/Mobile-Animations-Interactions)  \nCheck this [project on Dribbble] (https://dribbble.com/shots/1623131-Pull-to-Refresh)\n\n\u003cimg src=\"https://d13yacurqjgara.cloudfront.net/users/125056/screenshots/1623131/tours-pull-airplane_2-2-3.gif\" alt=\"alt text\" style=\"width:200;height:200\"\u003e\n\n[Sample APK] (https://github.com/Yalantis/Taurus/blob/develop/sample-taurus.apk?raw=true)\n\n#Usage\n\n*For a working implementation, Have a look at the Sample Project - sample*\n\n1. Include the library as local library project.\n\n2. Include the PullToRefreshView widget in your layout.\n\n\t```xml\n    \u003ccom.yalantis.taurus.PullToRefreshView\n        android:id=\"@+id/pull_to_refresh\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        app:type=\"sun\"\u003e\n\n        \u003cListView\n            android:id=\"@+id/list_view\"\n            android:divider=\"@null\"\n            android:dividerHeight=\"0dp\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\" /\u003e\n\n    \u003c/com.yalantis.taurus.PullToRefreshView\u003e\n    ```\n\n3. In your `onCreate` method refer to the View and setup OnRefreshListener.\n\t```java\n    mPullToRefreshView = (PullToRefreshView) findViewById(R.id.pull_to_refresh);\n    mPullToRefreshView.setOnRefreshListener(new PullToRefreshView.OnRefreshListener() {\n        @Override\n        public void onRefresh() {\n            mPullToRefreshView.postDelayed(new Runnable() {\n                @Override\n                public void run() {\n                    mPullToRefreshView.setRefreshing(false);\n                }\n            }, REFRESH_DELAY);\n        }\n     });\n     ```\n\n# Misc\nIf you need to change progress state:\n```java\n\tmPullToRefreshView.setRefreshing(boolean isRefreshing)\n```\n\n##Installing with [Gradle](http://gradle.org/)\n```groovy\ncompile 'com.github.yalantis:taurus:1.0.2'\n```\n\n#Compatibility\n  \n  * Android HONEYCOMB 3.0+\n  \n# Changelog\n\n### Version: 1.0\n\n  * Initial Build\n  \n### Version: 1.0.2\n\n  * Updated gradle version\n  \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","funding_links":[],"categories":["Index `(light-weight pages)`","CN","下拉刷新","Index","Java"],"sub_categories":["[Yalantis](https://github.com/Yalantis)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYalantis%2FTaurus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FYalantis%2FTaurus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYalantis%2FTaurus/lists"}