Author: @stevel05:
Description: allows you to change the default text in TableViews when there are no rows, it is empty.
Default (italian) text.........................................................Custom..................................................................................My favorite, the one I was looking for.
Description: allows you to change the default text in TableViews when there are no rows, it is empty.
B4X:
Public Sub SetTVPlaceholder(TV As TableView,Text As String)
Dim TVJO As JavaObject = TV
Dim L As Label
L.Initialize("")
L.Text = Text
TVJO.RunMethod("setPlaceholder",Array(L))
End Sub
Default (italian) text.........................................................Custom..................................................................................My favorite, the one I was looking for.