package com.akexorcist.mvpsimple.module.feed;

import com.akexorcist.mvpsimple.common.BasePresenter;
import com.akexorcist.mvpsimple.common.BaseView;
import com.akexorcist.mvpsimple.network.model.PostList;

/**
 * Created by Akexorcist on 7/10/16 AD.
 */
public class FeedContractor {

    public interface View extends BaseView<Presenter> {
        void updatePostList();

        void showLoading();

        void hideLoading();
    }

    public interface Presenter extends BasePresenter {
        void loadPostList();

        PostList getPostList();

        void onItemClick(PostList.Item postItem, int position);
    }

}

package com.akexorcist.mvpsimple.module.feed;

import com.akexorcist.mvpsimple.common.BasePresenter;
import com.akexorcist.mvpsimple.common.BaseView;
import com.akexorcist.mvpsimple.network.model.PostList;

/**
 * Created by Akexorcist on 7/10/16 AD.
 */
public class FeedContractor {

    public interface View extends BaseView<Presenter> {
        void updatePostList();

        void showLoading();

        void hideLoading();
    }

    public interface Presenter extends BasePresenter {
        void loadPostList();

        PostList getPostList();

        void setPostList(PostList postList);

        void onItemClick(PostList.Item postItem, int position);
    }

}

Add post list setter