为什我的代码和老师的一模一样,但老是说 Cursor 为初始化?
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.contentprovider_demo1/com.example.contentprovider_demo1.MainActivity}: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.