F faholet540 Member Oct 2, 2022 #1 Hi all! im using PreoptimizedCLV with lazy loading with custom layouts and works perfect. In this case i need add another pclv in each custom layout to do something like this: The master pclv is vertical and in each item i have a custom layout with pclv1 horizontal if i add in only one item the layout with the pclv1 works but not if add 2 or more items with the layout when y try to raise the _VisibleRangeChanged event for the pclv1 have problems with the load. the pclv1_VisibleRangeChanged is only one and i need one per item in the master pclv Thanks
Hi all! im using PreoptimizedCLV with lazy loading with custom layouts and works perfect. In this case i need add another pclv in each custom layout to do something like this: The master pclv is vertical and in each item i have a custom layout with pclv1 horizontal if i add in only one item the layout with the pclv1 works but not if add 2 or more items with the layout when y try to raise the _VisibleRangeChanged event for the pclv1 have problems with the load. the pclv1_VisibleRangeChanged is only one and i need one per item in the master pclv Thanks
Erel B4X founder Staff member Licensed User Longtime User Oct 3, 2022 #2 Tip: don't use PreoptimizedCLV unless you need to show a huge number of items. In other cases it will be simpler to use the regular CLV with lazy loading. You cannot nest scrollable containers. You can use CLVNested to nest lists: https://www.b4x.com/android/forum/threads/clvnested-allows-nesting-clvs.107742/#content Upvote 0
Tip: don't use PreoptimizedCLV unless you need to show a huge number of items. In other cases it will be simpler to use the regular CLV with lazy loading. You cannot nest scrollable containers. You can use CLVNested to nest lists: https://www.b4x.com/android/forum/threads/clvnested-allows-nesting-clvs.107742/#content
F faholet540 Member Oct 6, 2022 #3 Erel said: Tip: don't use PreoptimizedCLV unless you need to show a huge number of items. In other cases it will be simpler to use the regular CLV with lazy loading. You cannot nest scrollable containers. You can use CLVNested to nest lists: https://www.b4x.com/android/forum/threads/clvnested-allows-nesting-clvs.107742/#content Click to expand... im using PreoptimizedCLV because is easy and i dont know the amount of items. maybe one or 10k... and have images im going to try the CLVNested... but if is any way to use PCLV with nested i would like learn... Upvote 0
Erel said: Tip: don't use PreoptimizedCLV unless you need to show a huge number of items. In other cases it will be simpler to use the regular CLV with lazy loading. You cannot nest scrollable containers. You can use CLVNested to nest lists: https://www.b4x.com/android/forum/threads/clvnested-allows-nesting-clvs.107742/#content Click to expand... im using PreoptimizedCLV because is easy and i dont know the amount of items. maybe one or 10k... and have images im going to try the CLVNested... but if is any way to use PCLV with nested i would like learn...