Here’s my problem. I have implemented a ListView of CustomItem. Each custom item embed images that load from remote URIs, loaded asynchronously.
When the image’s Bitmap is available, I call ” this->AddElement(Rectangle(10, 20, 80, 80), ID_FORMAT_CHANLOGO, *mChanLogo, null, null); ” in the CustomItem, but there is no way to tell the CustomItem to Invalidate its content.
When I click on the item, this cause its state to change and then I can see my image. I tried manually refreshing the item by calling ListView.RefreshList(index, LIST_REFRESH_TYPE_ITEM_MODIFY); but this rebuilds the whole CustomItem, and that’s not the behavior i’m looking for.
How to invalidate a CustomItem in a ListView
Hello everyone,
Here’s my problem. I have implemented a ListView of CustomItem. Each custom item embed images that load from remote URIs, loaded asynchronously.
When the image’s Bitmap is available, I call ” this->AddElement(Rectangle(10, 20, 80, 80), ID_FORMAT_CHANLOGO, *mChanLogo, null, null); ” in the CustomItem, but there is no way to tell the CustomItem to Invalidate its content.
When I click on the item, this cause its state to change and then I can see my image. I tried manually refreshing the item by calling ListView.RefreshList(index, LIST_REFRESH_TYPE_ITEM_MODIFY); but this rebuilds the whole CustomItem, and that’s not the behavior i’m looking for.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio