Android Question For Each CustumListView

Discussion in 'Android Questions' started by mperez, Jun 10, 2019.

  1. mperez

    mperez Member Licensed User

    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

    Dim i As Int
    For i=0 To LV1.GetSize -1
    Dim Test As Int=LV1.GetValue(i)
    but I can only get a registration I need
    I appreciate any comment
  2. mangojack

    mangojack Well-Known Member Licensed User

    Tip ... Use Log rather than Msgbox() when debugging.

    The Value is declared as Object.
    Just use LV1.Size rather than LV1.GetSize

    For i = 0 To LV1.Size -1
    'Dim Test As Object = LV1.GetValue(i)     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice