nuno / TiCollectionView

UICollectionView / GridView for Appcelerator Titanium
MIT License
111 stars 43 forks source link

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

Open SYN-nikhilbahalkar opened 6 years ago

SYN-nikhilbahalkar commented 6 years ago

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 commented 6 years ago

It's a duplicate of https://github.com/nuno/TiCollectionView/issues/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 commented 6 years ago

not able to find 3.0.1 ios directory .

rlustemberg commented 6 years ago

It’s a zip file in the iOS directory on the branch

On 26 Mar 2018, at 15:11, SYN-nikhilbahalkar notifications@github.com wrote:

not able to find 3.0.1 ios directory .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nuno/TiCollectionView/issues/90#issuecomment-376160257, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkVwSO9_hGJnet8sMTQrScs1EBthwsnks5tiOj0gaJpZM4Sx0RR.

SYN-nikhilbahalkar commented 6 years ago

Thanks a lot buddy ..!!!

It worked for me .

SYN-nikhilbahalkar commented 6 years ago

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