locked
listView.elementFromIndex(index) returns null for first item! RRS feed

  • Question

  • When I try to get the first element from listView, wich his index is "0" the listView.elementFromIndex(index) function returns null! This happen when I access for the first time to splitPage that contains the listView. How to solve this?

    • Edited by Jakaw Saturday, September 1, 2012 2:52 PM
    Saturday, September 1, 2012 2:39 PM

Answers

  • Hi

    Here I have some questions,

    Do you mean there is no problem at the second time?

    How about index "1", does it have right behavior?

    You should debug this to determine what's the problem.
    • Edited by Dino He Thursday, October 11, 2012 8:02 AM
    • Marked as answer by Dino He Thursday, October 11, 2012 8:02 AM
    Monday, September 3, 2012 2:04 PM