{"id":19146659,"url":"https://github.com/mukeshsolanki/liquidrefreshlayout","last_synced_at":"2025-04-19T13:34:31.710Z","repository":{"id":71512579,"uuid":"130360130","full_name":"mukeshsolanki/liquidrefreshlayout","owner":"mukeshsolanki","description":"Liquid Refresh Layout is a simple SwipeToRefresh library that helps you easily integrate SwipeToRefresh and performs simple clean liquid animation","archived":false,"fork":false,"pushed_at":"2020-09-13T12:47:54.000Z","size":4995,"stargazers_count":128,"open_issues_count":0,"forks_count":16,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-02T05:23:06.843Z","etag":null,"topics":["android","gradle","java","kotlin","library","pull-to-refresh","refreshlayout","swipetorefresh"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mukeshsolanki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"patreon":"mukeshsolanki","custom":"https://www.paypal.me/mukeshsolanki"}},"created_at":"2018-04-20T12:37:17.000Z","updated_at":"2024-01-24T09:22:13.000Z","dependencies_parsed_at":"2023-02-24T22:30:34.559Z","dependency_job_id":null,"html_url":"https://github.com/mukeshsolanki/liquidrefreshlayout","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukeshsolanki%2Fliquidrefreshlayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukeshsolanki%2Fliquidrefreshlayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukeshsolanki%2Fliquidrefreshlayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukeshsolanki%2Fliquidrefreshlayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mukeshsolanki","download_url":"https://codeload.github.com/mukeshsolanki/liquidrefreshlayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223801073,"owners_count":17205008,"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","gradle","java","kotlin","library","pull-to-refresh","refreshlayout","swipetorefresh"],"created_at":"2024-11-09T07:47:38.801Z","updated_at":"2024-11-09T07:47:39.441Z","avatar_url":"https://github.com/mukeshsolanki.png","language":"Kotlin","readme":"\u003ch1 align=\"center\"\u003eLiquid Refresh Layout - Android\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca class=\"badge-align\" href=\"https://www.codacy.com/app/mukeshsolanki/liquidrefreshlayout?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=mukeshsolanki/liquidrefreshlayout\u0026amp;utm_campaign=Badge_Grade\"\u003e\u003cimg src=\"https://api.codacy.com/project/badge/Grade/8507823b5c2e4890b47c7cec49d23f4e\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://jitpack.io/#mukeshsolanki/liquidrefreshlayout\"\u003e\u003cimg src=\"https://jitpack.io/v/mukeshsolanki/liquidrefreshlayout/month.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://jitpack.io/#mukeshsolanki/liquidrefreshlayout\"\u003e \u003cimg src=\"https://jitpack.io/v/mukeshsolanki/liquidrefreshlayout.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/mukeshsolanki/liquidrefreshlayout/actions\"\u003e \u003cimg src=\"https://github.com/mukeshsolanki/liquidrefreshlayout/workflows/Build/badge.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\"/\u003e\u003c/a\u003e\n  \u003cbr /\u003e\u003cbr /\u003e\n  Liquid Refresh Layout is a simple SwipeToRefresh library that helps you easily integrate SwipeToRefresh and performs simple clean liquid animation.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/mukeshsolanki/liquidrefreshlayout/blob/master/demo.gif\" width=\"300px\" /\u003e\n\u003c/p\u003e\n\n# Supporting Liquid Refresh Layout\n\nLiquid Refresh Layout is an independent project with ongoing development and support made possible thanks to donations made by [these awesome backers](BACKERS.md#sponsors). If you'd like to join them, please consider:\n\n- [Become a backer or sponsor on Patreon](https://www.patreon.com/mukeshsolanki).\n- [One-time donation via PayPal](https://www.paypal.me/mukeshsolanki)\n\n\u003ca href=\"https://www.patreon.com/bePatron?c=935498\" alt=\"Become a Patron\"\u003e\u003cimg src=\"https://c5.patreon.com/external/logo/become_a_patron_button.png\" /\u003e\u003c/a\u003e\n\n## Getting started\nIts really simple to integrate *Liquid Refresh Layout* in android. All you need to do make the following change to you build gradle.\n\nStep 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:\n\n```java\nallprojects {\n  repositories {\n    ...\n    maven { url \"https://jitpack.io\" }\n  }\n}\n```\nStep 2. Add the dependency\n```java\ndependencies {\n    implementation 'com.github.mukeshsolanki:liquidrefreshlayout:\u003clatest-version\u003e'\n}\n```\n## How to use Liquid Refresh Layout\n\nIts fairly simple and straight forward to use *Liquid Refresh Layout* in you application. Just add the following in your layout where you want to display the Liquid Refresh Layout.\n\n```XML\n\u003ccom.madapps.liquid.LiquidRefreshLayout\n    android:id=\"@+id/refreshLayout\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    app:AniBackColor=\"@color/colorAccent\"\n    app:AniForeColor=\"@color/colorBackground\"\n    app:CircleSmaller=\"6\"\n    \u003e\n  \u003c!--Add your views here for example we are using recyclerview--\u003e\n  \u003candroid.support.v7.widget.RecyclerView\n      android:id=\"@+id/recyclerView\"\n      android:layout_width=\"match_parent\"\n      android:layout_height=\"wrap_content\"\n      android:scrollbars=\"vertical\"\n      /\u003e\n\u003c/com.madapps.liquid.LiquidRefreshLayout\u003e\n```\n\nand implement `LiquidRefreshLayout.OnRefreshListener` it in your activity/fragment and assign the Liquid Refresh Layout like wise.\n```Java\nrefreshLayout.setOnRefreshListener(object : LiquidRefreshLayout.OnRefreshListener {\n      override fun completeRefresh() {\n         //Called when you call refreshLayout.finishRefreshing()\n      }\n\n      override fun refreshing() {\n        //TODO make api call here\n      }\n    })\n```\n\nto stop refreshing call `refreshLayout.finishRefreshing()`\n\n## Author\nMaintained by [Mukesh Solanki](https://www.github.com/mukeshsolanki)\n\n## Contribution\n[![GitHub contributors](https://img.shields.io/github/contributors/mukeshsolanki/liquidrefreshlayout.svg)](https://github.com/mukeshsolanki/liquidrefreshlayout/graphs/contributors)\n\n* Bug reports and pull requests are welcome.\n* Make sure you use [square/java-code-styles](https://github.com/square/java-code-styles) to format your code.\n\n## License\n```\nCopyright (c) 2018 Mukesh Solanki\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","funding_links":["https://patreon.com/mukeshsolanki","https://www.paypal.me/mukeshsolanki","https://www.patreon.com/mukeshsolanki","https://www.patreon.com/bePatron?c=935498"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukeshsolanki%2Fliquidrefreshlayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmukeshsolanki%2Fliquidrefreshlayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukeshsolanki%2Fliquidrefreshlayout/lists"}