如何删除 Android 中的悬空光标?每当我使用游标完成工作时,我都会关闭数据库。
我想要这个,因为我得到了与 Google Issue Tracker issue 36921069 中所示相同的错误.
最佳答案
Can anyone tell me how to remove dangling cursors
当您不再需要 Cursor 对象时调用 close()
(例如,使用它的 Activity 的 onDestroy()
)。
I am Closing the Database whenever my work is completed with cursors.
这与关闭游标无关。
关于android - 如何删除 Android 中的悬空光标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8311348/