M mperez Member Licensed User Jun 10, 2019 #1 hello, someone can help me I'm trying to go through the contents of a CustomListView but I can not get the data. I'm trying to do it this way B4X: Dim i As Int For i=0 To LV1.GetSize -1 Dim Test As Int=LV1.GetValue(i) Msgbox(Test,"") Next but I can only get a registration I need I appreciate any comment
hello, someone can help me I'm trying to go through the contents of a CustomListView but I can not get the data. I'm trying to do it this way B4X: Dim i As Int For i=0 To LV1.GetSize -1 Dim Test As Int=LV1.GetValue(i) Msgbox(Test,"") Next but I can only get a registration I need I appreciate any comment
mangojack Well-Known Member Licensed User Longtime User Jun 11, 2019 #2 Tip ... Use Log rather than Msgbox() when debugging. The Value is declared as Object. Just use LV1.Size rather than LV1.GetSize B4X: For i = 0 To LV1.Size -1 'Dim Test As Object = LV1.GetValue(i) Log(LV1.GetValue(i)) Next Upvote 0
Tip ... Use Log rather than Msgbox() when debugging. The Value is declared as Object. Just use LV1.Size rather than LV1.GetSize B4X: For i = 0 To LV1.Size -1 'Dim Test As Object = LV1.GetValue(i) Log(LV1.GetValue(i)) Next