IListDataAdapter called in infinite loop by WinJS RRS feed

  • Question

  • I have a custom IListDataAdapter which sporadically works or doesn't. The adapter loads data from a web service incrementally as the WinJS ListView requests it (always load a few dozen extra items so that there's no service call each time). 

    Everything works nicely until I begin scrolling the ListView. More often than not, the getItemsForIndex function is called repeatedly as if it doesn't accept the returned value. I've replicated this issue whether I scroll slowly and let each web service call complete before scrolling or whether I scroll wildly. The one definining characteristic of this call is that it requests all items from index 0 until the latest items it has loaded. It is as if it is attempting a refresh of some sort.

    Been dealing with this for a few days now. I checked my keys over and over and they are correct. What could be the cause of this?


    Monday, October 22, 2012 9:05 PM

All replies