new RequestOptions(), new RequestOptions().skipMemoryCache(false), new RequestOptions().theme(null), new RequestOptions().onlyRetrieveFromCache(false), new RequestOptions().useUnlimitedSourceGeneratorsPool(false)) new RequestOptions().signature(new ObjectKey("test2"))) .addEqualityGroup( new RequestOptions().theme(app.getTheme()), new RequestOptions().theme(app.getTheme())) .testEquals();
/** * Sets the {@link android.content.res.Resources.Theme} to apply when loading {@link Drawable}s * for resource ids provided via {@link #error(int)}, {@link #placeholder(int)}, and * {@link #fallback(Drawable)}. * * @param theme The theme to use when loading Drawables. * @return this request builder. */ @CheckResult public RequestOptions theme(Resources.Theme theme) { if (isAutoCloneEnabled) { return clone().theme(theme); } this.theme = theme; fields |= THEME; return selfOrThrowIfLocked(); }