Sunday, 15 February 2015

Android : BitmapFactory.options inMutable before API level 11 -


is using variable but it is only supported from API level 11. What do I do for those users using the previous API level?

At the bottom of the API, you can select Bitmap with unselected < / Code> The argument must be set to true:

  bitmap bitmap = bitmapfactory .decodeResource (resource, R.drawable.myDrawable); Bitmap copy = bitmap copy (bitmap config = ARGB_8888, true);  

You probably want to do a little bit of spotlight with the debate.


No comments:

Post a Comment