Android Question PCLV/Customlistview height issue

Scantech

Well-Known Member
Licensed User
Longtime User
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
    11.9 KB · Views: 53

Scantech

Well-Known Member
Licensed User
Longtime User
Check the overall height of the CLV: clv.sv.ScrollViewContentHeight. If it is close to 16k then this is the problem.
ScrollViewContentHeight = 46370000 for 500dip
ScrollViewContentHeight = 37096000 for 400dip

this is with my project ill test the attached later
 
Upvote 0

Scantech

Well-Known Member
Licensed User
Longtime User
at 150dip = 13984008 it shows all of it

how do i interpret the value? is it 16K or 16M limits?
 
Upvote 0
Top