package com.kodroid.pilot.lib.android.frameBacking;

public interface PilotFrameBackedUI<P>
{
    void setBackingPilotFrame(P backingPilotFrame);

    /**
     * For offensive programming checks.
     * @return True if has any backing frame set
     */
    boolean hasBackingFrameSet();
}

package com.kodroid.pilot.lib.android.frameBacking;

import android.view.View;

public interface PilotFrameBackedUI<P>
{
    View setBackingPilotFrame(P backingPilotFrame);

    /**
     * For offensive programming checks.
     * @return True if has any backing frame set
     */
    boolean hasBackingFrameSet();
}

return view when setting a frame to a view