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

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -