Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Moving multiple objects

Tags:

android

I was wondering- how can I move multiple objects (imageviews) in a view (any view) in Android? I just want a simple, general approach.

I have successfully implemented a surfaceview with multiple moving objects but each time an object moves, the whole canvas has to be updated even for the non moving objects, which is slowing the ui. I have tried fixing this for days, but I'm at a loss.

like image 318
OckhamsRazor Avatar asked Jul 13 '26 01:07

OckhamsRazor


1 Answers

Got the answer: http://blahti.wordpress.com/2011/01/17/moving-views-part-2/

like image 95
OckhamsRazor Avatar answered Jul 15 '26 14:07

OckhamsRazor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!