Please help how can i refesh the badger to show the current true counts after a record has been removed from my table without closing and opening my app
B4X:
Dim intCount As Int
intCount = Starter.SQL1.ExecQuerySingleResult("SELECT count(Id) as Id FROM SMSlist")
If intCount > 0 Then
Dim ms As Int = intCount
Else
Dim ms As Int = 0
End If
Log(ms)
badger1.SetBadge(btnSend, ms)