@Override public Drawable getDrawable(int id) throws NotFoundException { IResourceValue value = getResourceValue(id, mPlatformResourceFlag); if (value != null) { return ResourceHelper.getDrawable(value.getValue(), mContext, value.isFramework()); } // id was not found or not resolved. Throw a NotFoundException. throwException(id); // this is not used since the method above always throws return null; }