What is the use of Icon in the new Android Marshmallow -


what use of icon class in android m. similar thing vectordrawable (introduced in lollipop).

it's wrapper class around different image resource types. believe it's meant convenience class situations, , make easier genericize use of different image types.

one particular use case notifications, there methods setsmallicon(icon icon) , setlargeicon(icon icon), allowing set icon using of static createwith* methods in icon class.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -