I thought about an app for prototyping apps. You (or your designers) could design and collect views. For prototyping this views could be connected with:
So far for theory. How to get this remote created prototypes into this prototyping-app?
Best way, to load layouts dynamically, not from assets, to have something like "Panel1.LoadLayout2(Dir as String, LayoutFile as String)", also to load layout in JSON format.
But for now, could I use B4XViews this way, to create layouts dynamically from JSON (or another script) in runtime?
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Or is there a better way?
			
			- Activities / Pages, Panels
- xCustomListViews (with collections of views)
- Custom Dialogs
- Open a new Activity / Page
- Open a Dialog
- Call a custom Sub
So far for theory. How to get this remote created prototypes into this prototyping-app?
Best way, to load layouts dynamically, not from assets, to have something like "Panel1.LoadLayout2(Dir as String, LayoutFile as String)", also to load layout in JSON format.
But for now, could I use B4XViews this way, to create layouts dynamically from JSON (or another script) in runtime?
			
				B4X:
			
		
		
		Sub CreateView(typ As String, name As String) As B4XView
    Dim obj As B4XView
    Select typ
        Case "Label"
            Dim lbl As Label
            lbl.Initialize(name)
            obj = lbl
        Case "Button"
            Dim btn As Button
            btn.Initialize(name)
            obj = btn   
        '...
            
    End Select
    Return obj
End Sub 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		