Finalizing a Cursor that has not been deactivated or closed

問題描述:數據庫 使用Sqlite數據庫時,有時候會報下面的異常: 對象 Finalizing a Cursor that has not been deactivated or closed。生命週期 一個光標沒有被停用或者關閉。 it 解決方法:sed 在使用Cursor對象前,調用startManagingCursor()方法,讓Activity基於自己的生命週期,來管理Cursor的生命周
相關文章
相關標籤/搜索