Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to change the direction of scroll (Horizontal) in ios #90

Open
SYN-nikhilbahalkar opened this issue Mar 20, 2018 · 5 comments
Open

Comments

@SYN-nikhilbahalkar
Copy link

Hi ,
I am trying to change the scroll direction to horizontal in waterfall layout for that I am using following code:

var collectionView = TiCollectionView.createCollectionView({
backgroundColor: 'white',
templates: { 'template': myTemplate },
defaultItemTemplate: 'template',
scrollDirection: "SCROLL_HORIZONTAL",
layout: "LAYOUT_WATERFALL",
});

using this I am not able to see any changes not even changed my collection view layout to waterfall.

Thanks in advance .

@rlustemberg
Copy link
Contributor

It's a duplicate of #58 . I have a working version (using a quick and dirty fix) at:
https://github.com/inzdr/TiCollectionView/tree/Quick-fix-horizontal-scroll
Use the 3.0.1 zip from iOS directory

@SYN-nikhilbahalkar
Copy link
Author

not able to find 3.0.1 ios directory .

@rlustemberg
Copy link
Contributor

rlustemberg commented Mar 26, 2018 via email

@SYN-nikhilbahalkar
Copy link
Author

Thanks a lot buddy ..!!!

It worked for me .

@SYN-nikhilbahalkar
Copy link
Author

Can we add a custom views in collection view as a list item ?
screen shot 2018-04-03 at 11 54 15 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants