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

javascript - Can Piwik report referrer in real time? -

asp.net - Google Drive Access: At least one client secrets (Installed or Web) should be set -

excel vba add hyperlink to shape in group -