// Path: app/src/main/java/io/gresse/hugo/anecdote/util/TitledFragment.java
// public abstract class TitledFragment extends Fragment {
// 
//     /**
//      * Return the fragment title that could be use in a Toolbar for example.
//      */
//     public abstract String getTitle();
// 
// }


import android.support.annotation.Nullable;
import io.gresse.hugo.anecdote.util.TitledFragment;
package io.gresse.hugo.anecdote.event;



/**
 * Requested when we need ot change the Toolbar title
 * <p/>
 * Created by Hugo Gresse on 14/02/16.
 */
public class ChangeTitleEvent implements Event {

    public String  title;
    @Nullable
    public String  additionalTitle;
    public boolean spinnerEnable;

    public ChangeTitleEvent(String title) {
        this.title = title;
        this.spinnerEnable = false;
    }

// Path: app/src/main/java/io/gresse/hugo/anecdote/util/TitledFragment.java
// public abstract class TitledFragment extends Fragment {
// 
//     /**
//      * Return the fragment title that could be use in a Toolbar for example.
//      */
//     public abstract String getTitle();
// 
// }


// Path: app/src/main/java/io/gresse/hugo/anecdote/event/ChangeTitleEvent.java
import android.support.annotation.Nullable;
import io.gresse.hugo.anecdote.util.TitledFragment;

package io.gresse.hugo.anecdote.event;



/**
 * Requested when we need ot change the Toolbar title
 * <p/>
 * Created by Hugo Gresse on 14/02/16.
 */
public class ChangeTitleEvent implements Event {

    public String  title;
    @Nullable
    public String  additionalTitle;
    public boolean spinnerEnable;

    public ChangeTitleEvent(String title) {
        this.title = title;
        this.spinnerEnable = false;
    }

    public ChangeTitleEvent(TitledFragment fragment, String additionalSlug, boolean spinnerEnable) {