1package android.support.v4.app;
2
3import android.support.annotation.IdRes;
4import android.support.annotation.Nullable;
5import android.view.View;
6
7
8/**
9 * Callbacks to a {@link Fragment}'s container.
10 */
11public abstract class FragmentContainer {
12    /**
13     * Return the view with the given resource ID. May return {@code null} if the
14     * view is not a child of this container.
15     */
16    @Nullable
17    public abstract View onFindViewById(@IdRes int id);
18
19    /**
20     * Return {@code true} if the container holds any view.
21     */
22    public abstract boolean onHasView();
23}
24