It appears that widgets won't always update in release mode if
I update when I exit the program and it doesn't happen. It appears that if I force the program closed then it will update once.
I was logging the code that updates the widget and it was hitting all of the code, it just didn't update.
Here is a snippet of the code I was running. It was posting to the log OK but not setting my label visible or displaying the CV - or at least not the bitmap.
Remming and unremming the LOG(1) also made no difference.
B4X:
#BridgeLogger: True
I update when I exit the program and it doesn't happen. It appears that if I force the program closed then it will update once.
I was logging the code that updates the widget and it was hitting all of the code, it just didn't update.
Here is a snippet of the code I was running. It was posting to the log OK but not setting my label visible or displaying the CV - or at least not the bitmap.
B4X:
If i2 > 0 Then
Log(1)
SS = It.Get(0)
RV.SetText("Label1", SS.Txt)
RV.SetVisible("Label1", True)
RV.SetTextColor("Label1", SS.TxtClr)
CV.DrawColor(SS.BClr)
RV.SetImage("IV1", BMP)
Else
RV.SetText("Label1", "List is empty. Top 6 in your list will display here.")
RV.SetVisible("Label1", True)
RV.SetTextColor("Label1", Colors.White)
CV.DrawColor(Colors.Blue)
RV.SetImage("IV1", BMP)
End If
Remming and unremming the LOG(1) also made no difference.
Last edited: