提交 386d89e4 编写于 作者: J judds 提交者: Sam Judd

Do not require clearing Drawables in Target#onLoadStarted.

It's no longer necessary, the Target is always cleared first whenever a completed load might be present.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=199811222
上级 8487ab79
......@@ -37,10 +37,6 @@ public interface Target<R> extends LifecycleListener {
* called. Loads can be paused and restarted due to lifecycle or connectivity events and each
* restart may cause a call here.
*
* <p>You must ensure that any current Drawable received in {@link #onResourceReady(Object,
* Transition)} is no longer displayed before redrawing the container (usually a View) or
* changing its visibility.
*
* @param placeholder The placeholder drawable to optionally show, or null.
*/
void onLoadStarted(@Nullable Drawable placeholder);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册