{"id":13639102,"url":"https://github.com/vivian8725118/SearchListView","last_synced_at":"2025-04-19T21:35:41.031Z","repository":{"id":77075210,"uuid":"46712151","full_name":"vivian8725118/SearchListView","owner":"vivian8725118","description":"带搜索栏的 listview，轻拉出现搜索栏，用力拉出现下拉刷新","archived":false,"fork":false,"pushed_at":"2017-06-13T15:38:59.000Z","size":1039,"stargazers_count":224,"open_issues_count":3,"forks_count":59,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-06T13:53:29.484Z","etag":null,"topics":["searchbar","searchlistview"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/vivian8725118.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-11-23T10:11:40.000Z","updated_at":"2024-11-01T02:48:52.000Z","dependencies_parsed_at":"2024-01-14T11:15:04.475Z","dependency_job_id":null,"html_url":"https://github.com/vivian8725118/SearchListView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivian8725118%2FSearchListView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivian8725118%2FSearchListView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivian8725118%2FSearchListView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivian8725118%2FSearchListView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vivian8725118","download_url":"https://codeload.github.com/vivian8725118/SearchListView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223810268,"owners_count":17206726,"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":["searchbar","searchlistview"],"created_at":"2024-08-02T01:00:57.677Z","updated_at":"2024-11-09T09:30:36.398Z","avatar_url":"https://github.com/vivian8725118.png","language":"Java","funding_links":[],"categories":["ListView"],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/license-Apache%202-green.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n\n\n# SearchListView\n讨论问题可以点击这个按钮(☞ﾟヮﾟ)☞[![Join the chat at https://gitter.im/vivian8725118/SearchListView](https://badges.gitter.im/vivian8725118/SearchListView.svg)](https://gitter.im/vivian8725118/SearchListView?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)（☜(ﾟヮﾟ☜)对，就是它！！！）\n\n带搜索栏的 listview，轻拉出现搜索栏，用力拉出现下拉刷新\n# ScreenShot\n\n\u003cdiv\u003e\n\u003cimg hspace=20 src=\"https://github.com/vivian8725118/SearchListView/blob/master/art/SearchListView.gif\" width = \"350\" height = \"611\" alt=\"SearchListView\" align=center /\u003e\n\u003cimg src=\"https://github.com/vivian8725118/SearchListView/blob/master/art/S51217-161726.jpg\" width = \"350\" height = \"611\" alt=\"S51217-161726\" align=center /\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003cimg hspace=20 src=\"https://github.com/vivian8725118/SearchListView/blob/master/art/S51217-163013.jpg\" width = \"350\" height = \"611\" alt=\"S51217-163013\" align=center /\u003e\n\u003cimg src=\"https://github.com/vivian8725118/SearchListView/blob/master/art/NoRefreshableSearchListView.gif\" width = \"350\" height = \"611\" alt=\"NoRefreshableSearchListView\" align=center /\u003e\n\u003c/div\u003e\n\n### 没有文字的版本\n\u003cdiv\u003e\n\u003cimg hspace=20 src=\"https://github.com/vivian8725118/SearchListView/blob/master/art/SearchListViewNoTextHeaderRecord.gif?raw=true\" width = \"350\" height = \"611\" alt=\"NoRefreshableSearchListView\" align=center /\u003e\n\u003cimg src=\"https://github.com/vivian8725118/SearchListView/blob/master/art/SearchListViewNoTextFooterRecord.gif?raw=true\" width = \"350\" height = \"611\" alt=\"NoRefreshableSearchListView\" align=center /\u003e\n\u003c/div\u003e\n\n# Usage\n### SearchListView 直接放入布局中\n         \u003cvivian.com.searchlistview.widget.SearchListView\n             android:id=\"@+id/listview\"\n             android:layout_width=\"match_parent\"\n             android:layout_height=\"match_parent\"\n             android:layout_gravity=\"center_horizontal\"\n             android:background=\"@color/stand_backgroud\"\n             android:cacheColorHint=\"#00000000\"\n             android:drawSelectorOnTop=\"false\"\n             android:listSelector=\"@android:color/transparent\"\u003e\n   \u003c/vivian.com.searchlistview.widget.SearchListView\u003e\n### 添加 SearchBar\n    SearchBar searchBar=new SearchBar(this);\n    mListView.addHeaderView(searchBar);\n    \n### 设置自动下拉刷新\n        mListView.pullRefreshEnable(true);//下拉刷新\n        mListView.setAutoFetchMore(true);//自动加载更多\n        手动请求网络--\u003e显示 header--\u003e请求成功，关闭 header\n### 设置关闭刷新功能\n        mListView.setEnableRefresh(false);//设 false关闭刷新功能\n        \n### 如果有问题需要讨论，请加我 QQ：1354458047 进行讨论\n    \n# LICENSE\n\n## The MIT License (MIT)\n\nCopyright (c) 2015 Vivian\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivian8725118%2FSearchListView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvivian8725118%2FSearchListView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivian8725118%2FSearchListView/lists"}