S Scantech Well-Known Member Licensed User Longtime User Aug 28, 2024 #1 I am using erel SMM example and mainly interested in PCLV. I modified the cell to use 2 images/labels instead of 4 originally. Can someone please explain why anything over 150dip the customlistview does not display all 46000 labels? Please test each height and see for yourself. I can't understand this. I mainly want to use 250dip, it bottoms out at label 12712, should see all label 46000. 400dip bottoms out at 4264?? 500dip bottoms out at 12578?? change each of the height and see what i am talking about. B4X: height = 300dip Attachments PCLV Test.zip PCLV Test.zip 11.9 KB · Views: 308
I am using erel SMM example and mainly interested in PCLV. I modified the cell to use 2 images/labels instead of 4 originally. Can someone please explain why anything over 150dip the customlistview does not display all 46000 labels? Please test each height and see for yourself. I can't understand this. I mainly want to use 250dip, it bottoms out at label 12712, should see all label 46000. 400dip bottoms out at 4264?? 500dip bottoms out at 12578?? change each of the height and see what i am talking about. B4X: height = 300dip
Erel B4X founder Staff member Licensed User Longtime User Aug 28, 2024 #2 There is a limit of about 16K pixels to ScrollView height. Upvote 0
S Scantech Well-Known Member Licensed User Longtime User Aug 28, 2024 #3 Erel said: There is a limit of about 16K pixels to ScrollView height. Click to expand... Ok there is limitation. But it's weird the 500dip shows more results than 400dip. Upvote 0
Erel said: There is a limit of about 16K pixels to ScrollView height. Click to expand... Ok there is limitation. But it's weird the 500dip shows more results than 400dip.
Erel B4X founder Staff member Licensed User Longtime User Aug 28, 2024 #4 Check the overall height of the CLV: clv.sv.ScrollViewContentHeight. If it is close to 16k then this is the problem. Upvote 0
Check the overall height of the CLV: clv.sv.ScrollViewContentHeight. If it is close to 16k then this is the problem.
S Scantech Well-Known Member Licensed User Longtime User Aug 28, 2024 #5 Erel said: Check the overall height of the CLV: clv.sv.ScrollViewContentHeight. If it is close to 16k then this is the problem. Click to expand... ScrollViewContentHeight = 46370000 for 500dip ScrollViewContentHeight = 37096000 for 400dip this is with my project ill test the attached later Upvote 0
Erel said: Check the overall height of the CLV: clv.sv.ScrollViewContentHeight. If it is close to 16k then this is the problem. Click to expand... ScrollViewContentHeight = 46370000 for 500dip ScrollViewContentHeight = 37096000 for 400dip this is with my project ill test the attached later
S Scantech Well-Known Member Licensed User Longtime User Aug 28, 2024 #6 the attached example is similar 36984008 for 400dip 46184008 for 500dip Upvote 0
S Scantech Well-Known Member Licensed User Longtime User Aug 28, 2024 #7 at 150dip = 13984008 it shows all of it how do i interpret the value? is it 16K or 16M limits? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 28, 2024 #8 The limit is indeed 16M: https://www.b4x.com/android/forum/t...extension-for-xcustomlistview.115289/#content Upvote 0
The limit is indeed 16M: https://www.b4x.com/android/forum/t...extension-for-xcustomlistview.115289/#content