Hi,
i am trying to create 2 identical CustomListViews with the same elements inside.
Why the attached example gives me error ¨java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first." ?
If i remove the following line it adds correctly the panel to the first CustomListView
i am trying to create 2 identical CustomListViews with the same elements inside.
Why the attached example gives me error ¨java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first." ?
If i remove the following line it adds correctly the panel to the first CustomListView
B4X:
CustomListView2.InsertAt(0,Panel, 100dip, "")