also, is there a preffered method to remove objects after using 
arrayList.add()? should I just use arrayList.remove(index) when they die/ 
bullets dissapear from screen?

Den måndagen den 12:e november 2012 kl. 23:07:53 UTC+1 skrev iQue:
>
> Great tips, thank you!
>
> this line: "So make sure object references go out of scope or are 
> otherwise removed the instant they 
>  aren't needed."  how would I go about checking this? how do I find the 
> object that is causing problems? Cus I do have arrayLists and use 
> arrayList.add(enemy/bullet). So that might be the problem, had no idea that 
> used alot of heap.
>

-- 
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

Reply via email to