public final void setIcon(@NonNull final Context context, @DrawableRes final int resourceId) {
        setIcon(ContextCompat.getDrawable(context, resourceId));
    }
public final void setIcon ( @ NonNull final Context context , @ DrawableRes final int resourceId ) { setIcon ( ContextCompat . getDrawable ( context , resourceId ) ) ; }
Sets the item's icon.

@param context
The context, which should be used, as an instance of the class {@link Context}. The
context may not be null
@param resourceId
The resource id of the icon, which should be set, as an {@link Integer} value. The
resource id must correspond to a valid drawable resource