Hi, I have tried the same thing with content provider and even that take some time to load the feeds.. so i think its nothing to do with the db or content provider
On May 4, 2:14 am, Moss <[email protected]> wrote: > Hi there, > > I have made an app that makes extensive use of an internal sqlite db > to save news feeds. Those feeds are parsed from an URL and then cached > in the DB so that I'm able to re-add them to a ListView after a > onPause()/onResume() pair. It's all quite nice but it takes about 2 or > 3 seconds to restore the feed and showup the filled ListView. > > Apart from 1 ListView it's actually a TabHost with 3 ListActivities > and in each of their ListView's I got about 50 items. So I can not not > hold all 150 items at once in memory. That's the reason I cache them > to a DB so I'm able to clear them out in their onPause() call. > > Why is it so slow? Would it be better to implement a ContentProvider? > And, would it really speed the app up? > > Thanks in advanced. > > Cheers, > Moss > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

