package com.kiliian.sunshine.mvp.views;


import com.arellomobile.mvp.MvpView;
import com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy;
import com.arellomobile.mvp.viewstate.strategy.StateStrategyType;
import com.kiliian.sunshine.data.Weather;

import java.util.List;

@StateStrategyType(AddToEndSingleStrategy.class)
public interface ForecastView extends MvpView {

    void showForecast(List<Weather> weatherList);
}

package com.kiliian.sunshine.mvp.views;


import com.arellomobile.mvp.MvpView;
import com.kiliian.sunshine.data.Weather;

import java.util.List;

public interface ForecastView extends MvpView {

    void showForecast(List<Weather> weatherList);
}

--- 
+++ 
@@ -2,10 +2,13 @@
 
 
 import com.arellomobile.mvp.MvpView;
+import com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy;
+import com.arellomobile.mvp.viewstate.strategy.StateStrategyType;
 import com.kiliian.sunshine.data.Weather;
 
 import java.util.List;
 
+@StateStrategyType(AddToEndSingleStrategy.class)
 public interface ForecastView extends MvpView {
 
     void showForecast(List<Weather> weatherList);
Set state strategy for forecast view
