I'm probably suffering brain fade but I want to do the following
B4X:
Type ViewInfo(ViewName As String, ViewType As String, HasText As Boolean, ViewText As String, ViewParent As String, ViewChildren() As List)
'...
Sub CreateViewInfo (ViewName As String, ViewType As String, HasText As Boolean...