Hi there
I am using ToastMessageShow version 2.1 with B4A 8 in a 4.4.4 android
Following code:
Dim Toast As ToastMessageShow
Toast.Initialize("OnToast")
The Toast message shows fine, the button is there, but clicking the button NEVER closes de toast.
What is wrong?
thanks
I am using ToastMessageShow version 2.1 with B4A 8 in a 4.4.4 android
Following code:
Dim Toast As ToastMessageShow
Toast.Initialize("OnToast")
B4X:
Sub MessageOk(aMsg As String)
Toast.create(aMsg)
Toast.withGravity(Toast.Gravity.TOAST_CENTER_BOTTOM)
Toast.withTextSize(20)
Toast.withTextColor(Colors.White)
Toast.withButton("OK", "", "")
Toast.Show
End Sub
The Toast message shows fine, the button is there, but clicking the button NEVER closes de toast.
What is wrong?
thanks
Last edited: