{"id":18544678,"url":"https://github.com/netristv/ti.scrollableview","last_synced_at":"2025-05-15T05:34:14.598Z","repository":{"id":88523283,"uuid":"139855713","full_name":"NetrisTV/ti.scrollableview","owner":"NetrisTV","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-02T12:51:16.000Z","size":349,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-17T09:16:42.360Z","etag":null,"topics":["axway","scrollableview","titanium"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetrisTV.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-07-05T13:45:08.000Z","updated_at":"2019-09-02T12:51:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"2dcab826-bc0b-440d-82b1-856801baf7da","html_url":"https://github.com/NetrisTV/ti.scrollableview","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetrisTV%2Fti.scrollableview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetrisTV%2Fti.scrollableview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetrisTV%2Fti.scrollableview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetrisTV%2Fti.scrollableview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetrisTV","download_url":"https://codeload.github.com/NetrisTV/ti.scrollableview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254282700,"owners_count":22045128,"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":["axway","scrollableview","titanium"],"created_at":"2024-11-06T20:17:16.122Z","updated_at":"2025-05-15T05:34:14.574Z","avatar_url":"https://github.com/NetrisTV.png","language":"Java","readme":"# ti.scrollableview Module\n## Description\n\nScrollableView is a view that encapsulates a horizontally-scrolling set of child views,\nknown as pages, navigable using its built-in horizontal swipe gestures.\n\nThis module implements this missing properies of Android version of\n[Ti.UI.ScrollableView](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ScrollableView):\n* clipViews\n* currentPageIndicatorColor\n* pagingControlOnTop\n* pageIndicatorColor\n\nSee [documentation](documentation/index.md) for more information.\n\nAlso it provides nice-looking `ink page indicator` aka paging control.\n\n![](demo.gif)\n\n## Installation\n\n* Grab the latest package from the releases page\n* Install it following [this guide](https://docs.appcelerator.com/platform/latest/#!/guide/Using_Modules)\n* with [gittio](http://gitt.io/): `$ gittio install ru.netris.mobile.scrollableview`\n\n## Usage\n\n```javascript\nvar win = Ti.UI.createWindow({\n  title: 'ScrollableView',\n  backgroundColor:'#eee'\n});\n\nvar label = Ti.UI.createLabel();\nwin.add(label);\nwin.open();\n\n// Common params\nvar params = {\n  clipViews: false,\n  currentPageIndicatorColor: '#000',\n  pageIndicatorColor: '#f00',\n  pagingControlOnTop: false,\n  showPagingControl: true,\n  top: 0\n};\n\nvar scrollableView;\nif (Ti.Platform.name === 'android') {\n  // Android specific params\n  params.padding = {\n    left: 40,\n    right: 40\n  };\n  var module = require('ru.netris.mobile.scrollableview');\n  scrollableView = module.createScrollableView(params);\n} else {\n  // iOS specific params\n  params.overlayEnabled = true;\n  params.width = '90%';\n  scrollableView = Titanium.UI.createScrollableView(params);\n}\n\nvar view1 = Ti.UI.createView({ id: 'view1', backgroundColor: '#836' });\nvar view2 = Ti.UI.createView({ id: 'view2', backgroundColor: '#246' });\nvar view3 = Ti.UI.createView({ id: 'view3', backgroundColor: '#48b' });\nscrollableView.setViews([view1, view2, view3]);\n\nwin.add(scrollableView);\n\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetristv%2Fti.scrollableview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetristv%2Fti.scrollableview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetristv%2Fti.scrollableview/lists"}