LISTVIEW from a CSV file

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • LISTVIEW from a CSV file

    Hello,

    What is the best way to populate a LISTVIEW Widget from a CSV File? For now, I can display the contents of the stream buffer, line by line, on the LCD using GUI_DispString(), or inside a text box with: MULTIEDIT_SetText(hItem, arr_tt), however, LISTVIEW doesn't show anything and I think the array/pointer I'm passing has something wrong.

    Do I have to create an array of strings and pass them to LISTVIEW one by one by looping LISTVIEW_AddRow()? Or is there any better and dirty way to do it?

    Thank you!


    Zaher