M mtselection Member Licensed User Longtime User Mar 23, 2016 #1 Hi, I can work with array of clv? When I try to add a panel in the CLV(2) I have the Sub Asview error: java.lang.NullPointerException: Attempt to read from field 'int android.view.ViewGroup$LayoutParams.width' on a null object reference I can know the CLV panel position with the method javaobject? similar to jo.RunMethod("getFirstVisiblePosition", Null) for listview. thanks
Hi, I can work with array of clv? When I try to add a panel in the CLV(2) I have the Sub Asview error: java.lang.NullPointerException: Attempt to read from field 'int android.view.ViewGroup$LayoutParams.width' on a null object reference I can know the CLV panel position with the method javaobject? similar to jo.RunMethod("getFirstVisiblePosition", Null) for listview. thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2016 #2 Add the lists with the designer and then add the existing lists to an array: Code: Dim CLVs() As CustomListView = Array As CustomListView(clv1, clv2) Upvote 0
Add the lists with the designer and then add the existing lists to an array: Code: Dim CLVs() As CustomListView = Array As CustomListView(clv1, clv2)