Lists body item disapear when scroll

29 views
Skip to first unread message

bill t

unread,
Aug 22, 2016, 8:57:34 PM8/22/16
to DroidScript
Hi DS,

On Android 6,
I created 1 lists in custom dialog.
Then, i setlist many items with title,body.
But when i scroll lists, some items out of view lost body when scroll back again.

I stuck here, not solution. Please help! thanks!

Steve Garman

unread,
Aug 22, 2016, 11:54:44 PM8/22/16
to DroidScript
It would be easier to see the exact cause if you had posted some code that demonstrates the problem but I will have a guess at it.

This is usually caused by lists with different numbers of elements.

List only works properly if all items have the same number of elements.

If one item has a body, all items must have a body, even if some are just " ".

If one item has an icon, all items must have an icon, even if some are just an invisible image.

If this does not fix your problem, please post your code.

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages