B4A Library SD: BindingNavigator (Sqlite GUI Navigator)

Star-Dust

Expert
Licensed User
Method AddGroupView

B4X:
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.

    Private DBr As NavigatorBar
    Private Panel1 As Panel ' Main panel where the views linked to the table will be attached
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.LoadLayout("Layout1")

    File.Copy(File.DirAssets,"user.s3db",File.DirInternal,"user.s3db")
  
    DBr.ConnectDB(File.DirInternal,"user.s3db",False)
    DBr.FontAW=Typeface.FONTAWESOME
    DBr.AddGroupView(Panel1)
    DBr.Query("SELECT * FROM user","ID")
End Sub
Video.gifupload_2018-4-14_20-22-40.png
 

Attachments

Top