The general pattern to test for a "valid" cursor is : C#. Copy Code. if(cursor != null && cursor.getCount() > 0).
確定! 回上一頁