I'd like to dynamically change color of a bitmap in an Android application. I'm using Paint.setColorFilter()
to do this but I'd like to avoid creating multiple instances of eg. PorterDuffColorFilter
inside the game loop. Do you know a way to acomplish this?