{"id":13848838,"url":"https://github.com/frankiesardo/LinearListView","last_synced_at":"2025-07-12T13:32:45.617Z","repository":{"id":5541813,"uuid":"6745581","full_name":"frankiesardo/LinearListView","owner":"frankiesardo","description":"Android library that allows you to bind a LinearLayout with a ListAdapter. ","archived":false,"fork":false,"pushed_at":"2015-02-17T15:17:49.000Z","size":412,"stargazers_count":577,"open_issues_count":9,"forks_count":132,"subscribers_count":37,"default_branch":"master","last_synced_at":"2024-07-01T10:57:29.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/frankiesardo.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":"2012-11-18T10:07:18.000Z","updated_at":"2024-06-27T20:08:43.000Z","dependencies_parsed_at":"2022-07-08T03:02:27.017Z","dependency_job_id":null,"html_url":"https://github.com/frankiesardo/LinearListView","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/frankiesardo%2FLinearListView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankiesardo%2FLinearListView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankiesardo%2FLinearListView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankiesardo%2FLinearListView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankiesardo","download_url":"https://codeload.github.com/frankiesardo/LinearListView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213949825,"owners_count":15661677,"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":[],"created_at":"2024-08-04T19:00:59.133Z","updated_at":"2024-08-04T19:03:28.643Z","avatar_url":"https://github.com/frankiesardo.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"LinearListView\n=================\n\nAndroid library that allows you to bind a `LinearLayout` with a `ListAdapter`.\n\n\nDownload\n--------\n\nGradle:\n\n```groovy\ndependencies {\n  compile 'com.github.frankiesardo:linearlistview:1.0.1@aar'\n}\n```\n\nUsage\n=====\n\nA simple example of the xml attributes that you can use\n\n```xml\n\u003ccom.linearlistview.LinearListView\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:id=\"@+id/list\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:orientation=\"horizontal\"\n    android:showDividers=\"none|middle|beginning|end\"\n    android:divider=\"@drawable/your_divider\"\n    android:dividerPadding=\"2dp\"\n    app:dividerThickness=\"2dp\"\n    android:entries=\"@array/your_array\" /\u003e\n```\n\nWhere: `showDividers`, `divider` and `dividerPadding` have the same meaning of a `LinearLayout` (API 11) attributes, `entries` is the same as a `ListView` attribute and `dividerThickness` controls how thick is the divider (namely its height or width depending on its orientation).\n\nIn your `Activity` you can call `myLinearListView.setAdapter(myAdapter)` and each view from your `ListAdapter` will be inflated and kept in sync with its data.\n\n\nWhy you want to use a LinearListVew:\n\n* You need an horizontal scrollable list (since `Gallery` is deprecated): Just embed this layout with an `horizontal` orientation in an `HorizontalScrollView`.\n* You need two or more lists in a vertical scrollable view.\n* You need to inflate several views in a `LinearLayout` from an `Adapter` and you want to keep them synchronized with its data. This is especially useful when working with a `CursorAdapter`.\n* You need a list with a fixed height (the total height of its children). Or, you have a complex, scrollable layout and don't want to use a `ListView` with footers and headers.\n* You simply want to use a `LinearLayout` with dividers (API 11) with the added benefit of a `dividerThickness` attribute.\n\n\nRoadmap\n-------------------------\n\n* Adding a `drawSelectorOnTop` attribute.\n\n\nLicense\n=======\n\n    Copyright 2012 Frankie Sardo\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%2Ffrankiesardo%2FLinearListView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankiesardo%2FLinearListView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankiesardo%2FLinearListView/lists"}