package com.akexorcist.mvpsimple.module.feed;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class FeedActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(com.akexorcist.mvpsimple.R.layout.activity_feed);



    }
}

@@ -40,16 +40,42 @@
 .feed;%0A%0A
+import android.os.Bundle;%0A
 import a
@@ -134,265 +134,999 @@
 oid.
-os.Bundle;%0A%0Apublic class FeedActivity extends AppCompatActivity %7B%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(com.akexorcist.mvpsimple.R.layout.activity_feed);%0A%0A%0A
+util.Log;%0A%0Aimport com.akexorcist.mvpsimple.network.model.PostList;%0A%0Apublic class FeedActivity extends AppCompatActivity implements FeedContractor.View %7B%0A%0A    private FeedContractor.Presenter feedPresenter;%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(com.akexorcist.mvpsimple.R.layout.activity_feed);%0A%0A        createPresenter();%0A    %7D%0A%0A    private void createPresenter() %7B%0A        FeedPresenter feedPresenter = new FeedPresenter(this);%0A    %7D%0A%0A    @Override%0A    protected void onResume() %7B%0A        super.onResume();%0A        feedPresenter.start();%0A%0A    %7D%0A%0A    @Override%0A    public void updatePostList(PostList postList) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void showLoading() %7B%0A%0A    %7D%0A%0A    @Override%0A    public void hideLoading() %7B%0A%0A    %7D%0A%0A    @Override%0A    public void setPresenter(FeedContractor.Presenter presenter) %7B%0A        this.feedPresenter = presenter;%0A        Log.e(%22CHeck%22, %22Set Presenter%22);
 %0A   

Create presenter