Tuesday, 6 August 2013

Out of memory custom view android

Out of memory custom view android

I'm creating a custom view composed to a digital clock and some infos
about the weather. The problem is that obviously the time changes every
minute and since i'm using bitmaps for the clock's numbers i can't do as
specified in the android developers website. The main issue is that i
can't pre-allocate only a few bitmaps but i have to do it for all of them
because i may need them all. So how can i avoid this problem?

No comments:

Post a Comment