1package com.bumptech.glide.request;
2
3/**
4 * An interface for coordinating multiple requests with the same {@link com.bumptech.glide.request.target.Target}.
5 */
6public interface RequestCoordinator {
7
8    /**
9     * Returns true if the {@link Request} can display a loaded bitmap.
10     *
11     * @param request The {@link Request} requesting permission to display a bitmap.
12     */
13    boolean canSetImage(Request request);
14
15    /**
16     * Returns true if the {@link Request} can display a placeholder.
17     *
18     * @param request The {@link Request} requesting permission to display a placeholder.
19     */
20    boolean canNotifyStatusChanged(Request request);
21
22    /**
23     * Returns true if any coordinated {@link Request} has successfully completed.
24     *
25     * @see Request#isComplete()
26     */
27    boolean isAnyResourceSet();
28}
29