Removing last item from ListView crashes app RRS feed

  • Question

  • Hi all,

    I am trying to remove items from a listview by manipulating the datasource and using listview.itemDataSource.remove(item.key)

    This works for all items, until I hit the last one, which is when the app crashes with this:

    Exception is about to be caught by JavaScript library code at line 10705, column 9 in ms-appx://microsoft.winjs.1.0/js/ui.js

    0x800a138f - JavaScript runtime error: Unable to get property 'uniqueID' of undefined or null reference

    Am I doing something wrong/ forgetting something here?



    Saturday, October 6, 2012 9:06 AM

All replies