package com.daksh.tmdbsample.movielist;

import com.daksh.tmdbsample.base.BasePresenter;
import com.daksh.tmdbsample.base.BaseView;

/**
 * Created by daksh on 03-Sep-16.
 */
public interface MovieListContract {

    interface View extends BaseView<Presenter> {

    }

    interface Presenter extends BasePresenter {

    }
}

@@ -34,16 +34,60 @@
 elist;%0A%0A
+import android.support.annotation.NonNull;%0A%0A
 import c
@@ -168,16 +168,86 @@
 aseView;
+%0Aimport com.daksh.tmdbsample.data.model.Movie;%0A%0Aimport java.util.List;
 %0A%0A/**%0A *
@@ -378,59 +378,400 @@
     
-%7D%0A%0A    interface Presenter extends BasePresenter %7B%0A
+    void showLoading();%0A%0A        void showError();%0A%0A        void showMovies(List%3CMovie%3E movies);%0A%0A        void addMovies(List%3CMovie%3E movies);%0A%0A        void showSortOrderSelector(int currentSortOrder);%0A    %7D%0A%0A    interface Presenter extends BasePresenter %7B%0A%0A        void loadMovies(Integer page);%0A%0A        void openMovieDetails(@NonNull Movie movie);%0A%0A        void setSortOrder(int sortOrder);
 %0A   

Add preliminary functions to View and Presenter of MovieListContract