IconApp icon indicating copy to clipboard operation
IconApp copied to clipboard

Android Render "Resources.GetDrawable(Element.Source).Mutate();" is obsolete

Open aalvaradob020 opened this issue 6 years ago • 1 comments

Hi, I get this warning on the custom render for Android. The app compiles and run on debug mode, but on release mode doesn't. Can someone please check it out? Thanks in advance

aalvaradob020 avatar May 16 '19 17:05 aalvaradob020

Hi, I get this warning on the custom render for Android. The app compiles and run on debug mode, but on release mode doesn't. Can someone please check it out? Thanks in advance

Replace var d = Resources.GetDrawable(Element.Source).Mutate(); with var d = Context.GetDrawable(Element.Source).Mutate();

badearobert avatar Jan 26 '20 20:01 badearobert