This is my conde in B4A
pObject is B4A Class
Public Sub LoadCollection(pObject As Object) As Map
Dim Query As String
Dim Rf As JavaObject = pObject
Query = "Select * from " & Rf.RunMethod("_getdbtable", Null)
If Rf.RunMethod("_getdbfilter", Null) <> "" Then
Query = Query & " where " & Rf.RunMethod("_getdbfilter", Null)
End If
....
....
The pObject class Contain a property DBTable and I read content through Rf.RunMethod("_getdbtable",Null)
Although I have to rewrite the code for B4i, Is there a way to do the same procedure?
Thanks!!!