LIst adapter pulling data lazily out of database and reusing views
will rescue you.
In my game I display highscore list with 1000 entries -  pretty
fluent.

regards,
On Jun 12, 5:18 pm, Moss <b.thax....@gmail.com> wrote:
> Just to make a small update on the issue, I looked a bit at romain
> guys shelves app which helped me a lot and my app updates now seamless
> 15k feed items!
>
> On 6 mayo, 07:12, grace <grace.a...@wipro.com> wrote:
>
> > 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<b.thax....@gmail.com> 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 android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com
> > > 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to