I think my shuffling and your memory errors are related. My
understanding at this point is the data being displayed in a view and
the view itself really need to be separated. Recycled views are simply
"other views of this type" - so using the view to hold/load its own
content might result in sever
I had similar issues. I managed to fix the performance of the list-
view, but i ran into memory issues.
My app downloads images from Smugmug, images that are 'front-page'
images of galleries/albums.
First, my app needed to get the information about the album, to get
the image-id of the album's fr
Thanks gesh - as suggested the problem was related to recycling.
Preformance is pretty good now, sadly my images keep shuffling but
given your recent input this should be easy to fix.
On Mar 15, 10:03 pm, Gesh wrote:
> > I'm currently using the ImageAdapter from the Hello GridView sample.
> > Bu
> I'm currently using the ImageAdapter from the Hello GridView sample.
> But loading the images from the web rather than using resources.
I think you need a better understanding of how adapters work to solve
your problem. The getView() method of your Adapter is inkoved every
time an image in your
Like it's been mentioned previously, make sure you are recycling the
convertView passed to the getView() method. Also make sure that you
are not drawing images that are scaled at drawing time.
On Sat, Mar 14, 2009 at 11:22 PM, ifuller1 wrote:
>
> Hi Gesh,
>
> Thanks for the response. I'll certai
p.s. when running the debugger I don't appear to be using anything
like 16mb of the allowed heap space... wonder if it's something else -
if I don't have any luck I'll post my (likely very poor) code up here.
Thanks again.
On Mar 14, 11:38 pm, Gesh wrote:
> hi,
>
> I have written 2 connected ap
Hi Gesh,
Thanks for the response. I'll certainly give the bitmap factory a go.
I'm currently using the ImageAdapter from the Hello GridView sample.
But loading the images from the web rather than using resources. The
problem is immediate, in that the performance doesn't degrade after re-
visits t
hi,
I have written 2 connected apps with some image content pulled from
the web and must say if you handle your resources right it shouldn't
be a problem at all.
Do you use your own Adapter for the GridView or do you use some of the
already available ones in the SDK? If you use your own you shou
8 matches
Mail list logo