I have a usecase in sqlite android , where in i have huge text in android api response and it is store properly in android sqlite field name image
The text is stored properly in sqlite since sqlite says TEXT field can store very very long text
Blocker :
When it comes to retrival of that text filed then i hv used below code snippet :
questionModel.setImageBuffer(new StringBuffer(imgData == null ? "" :
(questionCursor.getString(questionCursor.getColumnIndex(Constants.COLUMN_QUESTION_IMAGE)))));
basically this wraps content in string and hence it does not fit into string and content is broken
Anyone can suggest me how to properly fetch that field into StringBuffer variable
Edit :
Just look over the image attached below the text is store full and its size is also displayed in sqlite browser , i hv extracted that db and verified it.