If I add this
Private Sub Button2_Click
Log("-------------------------------")
For Each v As Object In Activity.GetAllViewsRecursive
Log(v)
Next
Log("...............")
For Each v As Object In Panel1.GetAllViewsRecursive
Log(v)
Next
Panel1.RemoveAllViews
Log("...............")
For Each v As Object In Activity.GetAllViewsRecursive
Log(v)
Next
Log("...............")
For Each v As Object In Panel1.GetAllViewsRecursive
Log(v)
Next
End Sub
I can clearly see that the number of views is reduced by the amount of cv's in the panel. In the panel and in the activity. So the views are removed. But they still somehow exist. How is this possible?
tim_Tick 1
tim_Tick 0
-------------------------------
android.widget.Button{997558d VFED..C.. ........ 60,958-360,1258 #2}
anywheresoftware.b4a.BALayout{903daf V.E...... ........ 0,0-1080,928 #3}
anywheresoftware.b4a.BALayout{7d8d21c V.E...... ........ 0,0-262,262 #5}
anywheresoftware.b4a.BALayout{4fe2e25 V.E...... ........ 0,0-262,262 #6}
android.widget.Button{fb95466 VFED..C.. ...P.... 599,958-899,1258 #4}
...............
anywheresoftware.b4a.BALayout{7d8d21c V.E...... ........ 0,0-262,262 #5}
anywheresoftware.b4a.BALayout{4fe2e25 V.E...... ........ 0,0-262,262 #6}
...............
android.widget.Button{997558d VFED..C.. ........ 60,958-360,1258 #2}
anywheresoftware.b4a.BALayout{903daf V.E...... ......ID 0,0-1080,928 #3}
android.widget.Button{fb95466 VFED..C.. ...P.... 599,958-899,1258 #4}
...............
tim_Tick 1
tim_Tick 0
tim_Tick 1
tim_Tick 0
tim_Tick 1
tim_Tick 0