Implementation of a Renderer pattern for Android