jb0502 Member Licensed User Longtime User Dec 4, 2015 #1 Does b4i include uicollectionview to design layouts like pinterest(multiple columns)? So layout can automaticly arrange layout depending on the size of each cell. Thanks in advance. Attachments pinterest.jpg 124.8 KB · Views: 254
Does b4i include uicollectionview to design layouts like pinterest(multiple columns)? So layout can automaticly arrange layout depending on the size of each cell. Thanks in advance.
narek adonts Well-Known Member Licensed User Longtime User Dec 4, 2015 #2 I think currently not. You can wait until it will be available or try to implement something like this with scrollview Upvote 0
I think currently not. You can wait until it will be available or try to implement something like this with scrollview
jb0502 Member Licensed User Longtime User Dec 4, 2015 #3 Thanks Narek. Is scrollview fast enough for 1000's of items as in pinterest? Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Dec 4, 2015 #4 UICollectionView is also based on a scrollview. The pros of the UICollectionView is that it reuse the blocks Upvote 0
UICollectionView is also based on a scrollview. The pros of the UICollectionView is that it reuse the blocks
jb0502 Member Licensed User Longtime User Dec 4, 2015 #5 So if I code the "reuse" part, it will be fine right! Is it possible in B4i? Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Dec 4, 2015 #6 I think will be better to wait Erels answer. Maybe he is planning to publish CollectionView library soon. Upvote 0
I think will be better to wait Erels answer. Maybe he is planning to publish CollectionView library soon.
Erel B4X founder Staff member Licensed User Longtime User Dec 6, 2015 #7 Loading 1000 images will be too slow. You can use ScrollView or CustomListView and load the items when the user scrolls down. B4A example: https://www.b4x.com/android/forum/t...ore-when-scroll-tot-bottom.35761/#post-210230 Note that it will not be simple with UICollection as well. As you will still need to manage the views recycling. Upvote 0
Loading 1000 images will be too slow. You can use ScrollView or CustomListView and load the items when the user scrolls down. B4A example: https://www.b4x.com/android/forum/t...ore-when-scroll-tot-bottom.35761/#post-210230 Note that it will not be simple with UICollection as well. As you will still need to manage the views recycling.