TouchGFX scroll list invalidate problem STM32H750B-DK
Hello,
I am trying to make a wifi list using STM32H750B-DK. I designed my screen and add scroll list in it. I am receiving the wifi list from the esp32 and I want to show them on my list. I manage the copy it in my container but I got an issue. When I tried to invalidate it, it is not showing the wifi's until I scroll it down or up. Does anybody have an idea?
void WiFiScreenView::wifiSSIDListUpdateItem(wifiSSIDContainer& item, int16_t itemIndex)
{
if(isWiFiListReceived){
item.refreshWiFi(itemIndex);
}
wifiSSIDList.invalidate();
}
Here is my update item code and wifiSSIDList is my scroll list not the container. And this is my container code.
void wifiSSIDContainer::refreshWiFi(uint8_t idx)
{
const char* wifiName = WiFiList[idx];
Unicode::strncpy(textWiFiNameBuffer, wifiName,TEXTWIFINAME_SIZE);
textWiFiName.setWildcard(textWiFiNameBuffer);
textWiFiName.invalidate();
}
If anybody have an idea I am open to try it.
