android - Getting heavy data throws Cursor Window: Window is full error -
i new android , in app have fetch heavy data server (out of 2 images) , store in local database. till now, have done standard way involves fetching data @ once , storing in local database. getting out of memory error. there guidelines need follow while fetching heavy data? storing images in local database in blob form.
i think because query results large cursor's window , requests more memory or caused because of blob image .
since requirement met using endless scroll or infinite scroll recomment use .
and best way store image store path in db , store image in sd card
you reference following link implement infinite scroll view using recycler view
http://android-pratap.blogspot.in/2015/06/endless-recyclerview-with-progress-bar.html
Comments
Post a Comment