{"id":13396100,"url":"https://github.com/jpardogo/FlabbyListView","last_synced_at":"2025-03-13T22:31:41.267Z","repository":{"id":15278797,"uuid":"18008198","full_name":"jpardogo/FlabbyListView","owner":"jpardogo","description":"Android library to display a ListView whose cells are not rigid but flabby and react to ListView scroll.","archived":false,"fork":false,"pushed_at":"2019-10-16T11:49:09.000Z","size":5369,"stargazers_count":757,"open_issues_count":5,"forks_count":143,"subscribers_count":44,"default_branch":"master","last_synced_at":"2024-07-31T18:16:30.544Z","etag":null,"topics":["android-library","flabbylistview","listview"],"latest_commit_sha":null,"homepage":"","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/jpardogo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-03-22T11:47:56.000Z","updated_at":"2024-06-27T13:02:06.000Z","dependencies_parsed_at":"2022-08-04T03:00:22.661Z","dependency_job_id":null,"html_url":"https://github.com/jpardogo/FlabbyListView","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/jpardogo%2FFlabbyListView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpardogo%2FFlabbyListView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpardogo%2FFlabbyListView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpardogo%2FFlabbyListView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpardogo","download_url":"https://codeload.github.com/jpardogo/FlabbyListView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493851,"owners_count":20299725,"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-library","flabbylistview","listview"],"created_at":"2024-07-30T18:00:40.121Z","updated_at":"2025-03-13T22:31:41.237Z","avatar_url":"https://github.com/jpardogo.png","language":"Java","readme":"FlabbyListView\n==============\n\n**This library is not maintained anymore and there will be no further releases**\n\nAndroid library to display a ListView which cells are not rigid but flabby and react to ListView scroll and touch events.\n\nA video example of this library is on this [youtube video][1].  \nAnd I also wrote a [blog post][5] about this library in [my blog][6]\n\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"http://i.imgur.com/ugCBHiH.gif](http://i.imgur.com/ugCBHiH.gif\"/\u003e\n \u003cimg src=\"http://i.imgur.com/wfWGrBS.gif](http://i.imgur.com/wfWGrBS.gif\"/\u003e\n\u003c/p\u003e\n\n\nUsage\n-----\n\n1.Place the `FlabbyListView` on your layout:\n\n```xml\n    \u003ccom.jpardogo.android.flabbylistview.lib.FlabbyListView\n        xmlns:android=\"http://schemas.android.com/apk/res/android\"\n        xmlns:tools=\"http://schemas.android.com/tools\"\n        android:id=\"@android:id/list\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/\u003e\n```\n\n2.Populate it with items which xml layout is wrap by a `FlabbyLayout`:\n\n\n```xml\n    \u003c!--Notice that this view extends from \u003cFrameLayout/\u003e.--\u003e\n    \u003ccom.jpardogo.android.flabbylistview.lib.FlabbyLayout\n        xmlns:android=\"http://schemas.android.com/apk/res/android\"\n        xmlns:tools=\"http://schemas.android.com/apk/tools\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"100dp\"\n        android:orientation=\"vertical\"\u003e\n\n        \u003c!--Your content--\u003e\n\n    \u003c/FlabbyLayout\u003e\n```\n3.Set the color of each item. It needs to be set on the getView method of your adapter calling `setFlabbyColor` from `FlabbyLayout`:\n\n```java\n    @Override\n    public View getView(int position, View convertView, ViewGroup parent) {\n        ViewHolder holder;\n        if (convertView == null) {\n            convertView = LayoutInflater.from(mContext).inflate(R.layout.item_list, parent, false);\n            holder = new ViewHolder(convertView);\n            convertView.setTag(holder);\n        } else {\n            holder = (ViewHolder) convertView.getTag();\n        }\n\n        int color = Color.argb(255, mRandomizer.nextInt(256), mRandomizer.nextInt(256), mRandomizer.nextInt(256));\n        ((FlabbyLayout)convertView).setFlabbyColor(color);\n        holder.text.setText(getItem(position));\n        return convertView;\n    }\n```\nIncluding in your project\n-------------------------\n\nYou can either add the library to your application as a library project or add the following dependency to your build.gradle:\n\n![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jpardogo.flabbylistview/library/badge.svg)\n\n```groovy\ndependencies {\n    compile 'com.jpardogo.flabbylistview:library:(latest version)'\n}\n```\n\nNotes\n-----\n\nThe iOS version developed by [brocoo][2] is available at [BRFlabbyTable][3]\n\n\nDeveloped By\n--------------------\n\nJavier Pardo de Santayana Gómez - \u003cjpardogo@gmail.com\u003e\n\n\u003ca href=\"https://twitter.com/jpardogo\"\u003e\n  \u003cimg alt=\"Follow me on Twitter\"\n       src=\"https://raw.github.com/jpardogo/ListBuddies/master/art/ic_twitter.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://plus.google.com/u/0/+JavierPardo/posts\"\u003e\n  \u003cimg alt=\"Follow me on Google+\"\n       src=\"https://raw.github.com/jpardogo/ListBuddies/master/art/ic_google+.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"http://www.linkedin.com/profile/view?id=155395637\"\u003e\n  \u003cimg alt=\"Follow me on LinkedIn\"\n       src=\"https://raw.github.com/jpardogo/ListBuddies/master/art/ic_linkedin.png\" /\u003e\n\nLicense\n-----------\n\n    Copyright 2013 Javier Pardo de Santayana Gómez\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\n[1]: https://www.youtube.com/watch?v=yN6oO4dBgW8\n[2]: https://github.com/brocoo\n[3]: https://github.com/brocoo/BRFlabbyTable\n[4]: https://play.google.com/store/apps/details?id=com.jpardogo.android.flabbylistview\n[5]: http://blog.jpardogo.com/path-and-control-points/\n[6]: http://jpardogo.com\n","funding_links":[],"categories":["Index `(light-weight pages)`","Index","Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpardogo%2FFlabbyListView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpardogo%2FFlabbyListView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpardogo%2FFlabbyListView/lists"}