package com.jimulabs.mirrorsandbox;

/**
 * MirrorSandbox classes are considered "design mode" code for quick experiments or populating views
 * with mock data. Think of it as a REPL for Android UI (layouts and animations) when used in
 * combination with the Java code hot-swapping of Mirror.
 *
 * Mirror uses classes that implement this interface and set the "sandbox" attribute of
 * a mirror screen file:
 *
 * <screen sandbox="foo.bar.BarBox">
 *
 * In most cases, you can subclass {@link com.jimulabs.mirrorsandbox.MirrorAnimatorSandbox} which
 * provides a few helper methods that make tweaking animations easy.
 *
 * Created by lintonye on 2014-12-23.
 */
public interface MirrorSandbox {
    /**
     * Mirror calls this method from the UI thread after the layout pass for the entire screen finishes.
     * Methods such as View#getMeasuredWidth() will return proper values.
     * <p/>
     * This method is considered as a "design mode" used for quick experiments or populating
     * views with mock data. This method is not supposed to be called from production code.
     */
    void enterSandbox();

    /**
     * Mirror calls this method from the UI thread in the Activity#onDestroy() call back.
     * This method can be used to release things that are not supposed to be persist across refreshes.
     */
    void destroySandbox();
}

@@ -409,17 +409,20 @@
 :%0A *%0A * 
-%3C
+&lt;
 screen s
@@ -444,17 +444,20 @@
 .BarBox%22
-%3E
+&gt;
 %0A *%0A * I
@@ -894,13 +894,8 @@
    *
- %3Cp/%3E
 %0A   

Fix java lint error