Monday, January 14, 2013

Re: [android-developers] How to switch between 2 renderers?

Hi,

AFAIK, only way around the problem is to introduce a "proxy renderer".
Meaning you install this "proxy" as renderer and its only purpose is
to delegate rendering calls to actual implementation classes.

--
H

On Mon, Jan 14, 2013 at 12:11 PM, MobileVisuals
<eyvind@astralvisuals.com> wrote:
> I have 2 renderers in my live wallpaper, quadRenderer and renderer. I try to
> switch between them with
>
> setRenderer(quadRenderer);
>
> This results in this error:
>
> setRenderer has already been called for this instance.
>
> What can I do to avoid this?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate