B4A Library SD: BindingNavigator (Sqlite GUI Navigator)

Discussion in 'Additional libraries, classes and official updates' started by Star-Dust, Mar 21, 2018.

  1. Star-Dust

    Star-Dust Expert Licensed User

    Method AddGroupView

    Code:
    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.gif upload_2018-4-14_20-22-40.png
     

    Attached Files:

    Erel and LucaMs like this.
  2. Star-Dust

    Star-Dust Expert Licensed User

    Video tutorial Method AddGroupView
     
    Salvatore Montoro likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice