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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -