Crash in ListView at AbsListView.obtainView for ListActivity

前端 未结 4 1748
时光取名叫无心
时光取名叫无心 2020-12-05 06:23

I\'m watching content updates on a ListActivity using a ContentObserver as follows:

protected void onCreate(Bundle savedState)
   {
        super.onCreate(sa         


        
4条回答
  •  悲哀的现实
    2020-12-05 06:58

    I have not used changeCursor(). And, since the query you used to create the Cursor is the same as the query you are using to "change" the cursor, I'd dump the changeCursor() call outright and just call requery() on the Cursor you have.

提交回复
热议问题