{"id":15036019,"url":"https://github.com/ramotion/garland-view-android","last_synced_at":"2025-04-14T05:19:25.362Z","repository":{"id":57726982,"uuid":"100045838","full_name":"Ramotion/garland-view-android","owner":"Ramotion","description":":octocat: ≡ GarlandView seamlessly transitions between multiple lists of content. Made by @Ramotion","archived":false,"fork":false,"pushed_at":"2020-04-06T13:37:14.000Z","size":16511,"stargazers_count":1832,"open_issues_count":0,"forks_count":255,"subscribers_count":59,"default_branch":"master","last_synced_at":"2025-04-07T00:12:19.754Z","etag":null,"topics":["android","animation","component","java","library","material-design","ui"],"latest_commit_sha":null,"homepage":"https://www.ramotion.com/garland-view-android/","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/Ramotion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-11T15:28:38.000Z","updated_at":"2025-02-10T05:11:09.000Z","dependencies_parsed_at":"2022-09-11T17:02:51.094Z","dependency_job_id":null,"html_url":"https://github.com/Ramotion/garland-view-android","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/Ramotion%2Fgarland-view-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramotion%2Fgarland-view-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramotion%2Fgarland-view-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramotion%2Fgarland-view-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ramotion","download_url":"https://codeload.github.com/Ramotion/garland-view-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824747,"owners_count":21167355,"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","component","java","library","material-design","ui"],"created_at":"2024-09-24T20:29:56.849Z","updated_at":"2025-04-14T05:19:25.344Z","avatar_url":"https://github.com/Ramotion.png","language":"Java","funding_links":["https://paypal.me/Ramotion"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://www.ramotion.com/agency/app-development/?utm_source=gthb\u0026utm_medium=repo\u0026utm_campaign=garland-view-android\"\u003e\u003cimg src=\"https://github.com/Ramotion/folding-cell/blob/master/header.png\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/Ramotion/garland-view-android\"\u003e\n\u003cimg align=\"left\" src=\"https://github.com/Ramotion/garland-view-android/blob/master/preview.gif\" width=\"480\" height=\"360\" /\u003e\u003c/a\u003e\n\n\u003cp\u003e\u003ch1 align=\"left\"\u003eGARLAND VIEW [JAVA]\u003c/h1\u003e\u003c/p\u003e\n\n\u003ch4\u003eGarland View seamlessly transitions between multiple lists of content\u003c/h4\u003e\n\n\n___\n\n\n\u003cp\u003e\u003ch6\u003eWe specialize in the designing and coding of custom UI for Mobile Apps and Websites.\u003c/h6\u003e\n\u003ca href=\"https://www.ramotion.com/agency/app-development/?utm_source=gthb\u0026utm_medium=repo\u0026utm_campaign=garland-view-android\"\u003e\n\u003cimg src=\"https://github.com/ramotion/gliding-collection/raw/master/contact_our_team@2x.png\" width=\"187\" height=\"34\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\u003ch6\u003eStay tuned for the latest updates:\u003c/h6\u003e\n\u003ca href=\"https://goo.gl/rPFpid\" \u003e\n\u003cimg src=\"https://i.imgur.com/ziSqeSo.png/\" width=\"156\" height=\"28\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003c/br\u003e\n\n[![Twitter](https://img.shields.io/badge/Twitter-@Ramotion-blue.svg?style=flat)](http://twitter.com/Ramotion)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/Ramotion)\n\n# Check this library on other platforms:\n\u003ca href=\"https://github.com/Ramotion/garland-view\"\u003e\n\u003cimg src=\"https://github.com/ramotion/navigation-stack/raw/master/Swift@2x.png\" width=\"178\" height=\"81\"\u003e\u003c/a\u003e\n\n## Requirements\n- Android 4.4 KitKat (API lvl 19) or greater\n- Your favorite IDE\n\n## Installation\nJust download the package from [here](http://central.maven.org/maven2/com/ramotion/garlandview/garland-view/0.3.3/garland-view-0.3.3.aar) and add it to your project classpath, or just use the maven repo:\n\nGradle:\n```groovy\ncompile 'com.ramotion.garlandview:garland-view:0.3.3'\n```\nSBT:\n```scala\nlibraryDependencies += \"com.ramotion.garlandview\" % \"garland-view\" % \"0.3.3\"\n```\nMaven:\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.ramotion.garlandview\u003c/groupId\u003e\n    \u003cartifactId\u003egarland-view\u003c/artifactId\u003e\n    \u003cversion\u003e0.3.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n## Basic usage\n\n`GarlandView` consists of classes for inner items that are scrolled vertically\nand outer items that are scrolled horizontally, and each of which contains\none inner item.\n\nFirst of all, you need to implement the classes necessary to create internal items: InnerItem and InnerAdapter.\n\n`InnerAdapter` is an abstract class inherited from RecyclerView.Adapter.\nIt works only with InnerItem - ViewHolder.\n\nIn `InnerItem`, you need to override the `getInnerLayout` method, which must return\nthe main layout of the inner item.\n\nNext, you need to override the classes required for external items: `HeaderItem` and` HeaderAdapter`.\n\n`HeaderAdapter` is an abstract class inherited from RecyclerView.Adapter,\nIt works only with HeaderItem - ViewHolder.\n\nIn `HeaderItem`, you need to redefine 4 methods:` getHeader`, `getHeaderAlphaView`,` isScrolling`, `getViewGroup`.\nThe method `getViewGroup` should return InnerRecyclerView.\nThe `isScrolling` method must return the InnerRecyclerView's scrolling state.\nThe `getHeaderAlpha` method should return an alpha-layout, which will be used for dimming (hiding header's views).\nThe `getHeader` method must return the main layout of the header, an outer item.\n\nFinally, place `TailRecyclerView` in the Activity's layout. Next, create a TailLayoutManager and\nspecify it as a LayoutManager for `TailRecyclerView`.\n\nHere are the attributes of `TailRecyclerView` you can specify in the XML layout:\n* `itemStart` - Outer item left and right offset size.\n* `itemGap` -  Distance between outer items.\n\n\u003cbr\u003e\n\n## 🗂 Check this library on other language:\n\u003ca href=\"https://github.com/Ramotion/garland-view\"\u003e\n\u003cimg src=\"https://github.com/ramotion/navigation-stack/raw/master/Swift@2x.png\" width=\"178\" height=\"81\"\u003e\u003c/a\u003e\n\n## 📄 License\n\nGarland View Android is released under the MIT license.\nSee [LICENSE](./LICENSE) for details.\n\nThis library is a part of a \u003ca href=\"https://github.com/Ramotion/android-ui-animation-components-and-libraries\"\u003e\u003cb\u003eselection of our best UI open-source projects\u003c/b\u003e\u003c/a\u003e\n\nIf you use the open-source library in your project, please make sure to credit and backlink to www.ramotion.com\n\n## 📱 Get the Showroom App for Android to give it a try\nTry this UI component and more like this in our Android app. Contact us if interested.\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.ramotion.showroom\" \u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Ramotion/react-native-circle-menu/master/google_play@2x.png\" width=\"104\" height=\"34\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://www.ramotion.com/agency/app-development/?utm_source=gthb\u0026utm_medium=repo\u0026utm_campaign=garland-view-android\"\u003e\n\u003cimg src=\"https://github.com/ramotion/gliding-collection/raw/master/contact_our_team@2x.png\" width=\"187\" height=\"34\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framotion%2Fgarland-view-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framotion%2Fgarland-view-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framotion%2Fgarland-view-android/lists"}