TiCollectionView icon indicating copy to clipboard operation
TiCollectionView copied to clipboard

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

Open SYN-nikhilbahalkar opened this issue 7 years ago • 5 comments

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 .

SYN-nikhilbahalkar avatar Mar 20 '18 12:03 SYN-nikhilbahalkar

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

rlustemberg avatar Mar 25 '18 15:03 rlustemberg

not able to find 3.0.1 ios directory .

SYN-nikhilbahalkar avatar Mar 26 '18 13:03 SYN-nikhilbahalkar

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

On 26 Mar 2018, at 15:11, SYN-nikhilbahalkar [email protected] 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.

rlustemberg avatar Mar 26 '18 13:03 rlustemberg

Thanks a lot buddy ..!!!

It worked for me .

SYN-nikhilbahalkar avatar Mar 26 '18 13:03 SYN-nikhilbahalkar

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

SYN-nikhilbahalkar avatar Apr 03 '18 06:04 SYN-nikhilbahalkar