How can i retrieve the sql statement from a cursor, something like the code below:
Cursor cursor = AppController.getDBO().rawQuery("SELECT * FROM tbl_name", null);
Some my friend tells me that initialization of an object by cursor in a constructor is bad practise. But I don't sure. I initialize cursor and create objects in a one method (I don't pass cursor to another method). In constructor, I also don't move cursor to some position.