B beto1062 Member Licensed User Longtime User Nov 14, 2012 #1 Hi I´m playing with the example. I have a Data Table with Labels and quantyties. With a Timer I go trought the internet and get some values. In any value change I need to go and search the Item in the customlistview and change it. How can I do it? And.. can I SORT the customlistview ? I'm trying to do something like "Tader Pulse" ( see: https://market.android.com/details?i...id.traderpulse ) Thanks
Hi I´m playing with the example. I have a Data Table with Labels and quantyties. With a Timer I go trought the internet and get some values. In any value change I need to go and search the Item in the customlistview and change it. How can I do it? And.. can I SORT the customlistview ? I'm trying to do something like "Tader Pulse" ( see: https://market.android.com/details?i...id.traderpulse ) Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 14, 2012 #2 There are several ways to implement it. How do you search for an item? Assuming that each item has a unique ID, you can create a Map that maps this ID with the item index. You can then call GetPanel to access the item's panel. CustomListView is a UI object. You should sort the items with a regular List and then add the items from the list. Upvote 0
There are several ways to implement it. How do you search for an item? Assuming that each item has a unique ID, you can create a Map that maps this ID with the item index. You can then call GetPanel to access the item's panel. CustomListView is a UI object. You should sort the items with a regular List and then add the items from the list.
B beto1062 Member Licensed User Longtime User Nov 14, 2012 #3 Thanks Erel, May you please tell me if this app: "Tader Pulse" ( see: https://market.android.com/details?i...id.traderpulse ) is using ListViwe or Custom... I think its List but I dont know how it can update an item without clearing the view an without any fliker. Thanks Upvote 0
Thanks Erel, May you please tell me if this app: "Tader Pulse" ( see: https://market.android.com/details?i...id.traderpulse ) is using ListViwe or Custom... I think its List but I dont know how it can update an item without clearing the view an without any fliker. Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2012 #4 The link is broken. You can change items with CustomListView without clearing the other items and without any flickering. Upvote 0
The link is broken. You can change items with CustomListView without clearing the other items and without any flickering.