Thanks, it worked! It was very easy to implement. On Monday, January 14, 2013 12:52:43 PM UTC+1, Harri Smått wrote: > > Hi, > > Yes, using one renderer only which delegates commands further. > > -- > H > > On Mon, Jan 14, 2013 at 1:47 PM, MobileVisuals > <eyv...@astralvisuals.com<javascript:>> > wrote: > > I see, do you mean using the "proxy renderer" as the only renderer? > > > > > > On Monday, January 14, 2013 12:30:50 PM UTC+1, Harri Smått wrote: > >> > >> 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 > >> <eyv...@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-d...@googlegroups.com<javascript:> > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en >
-- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en