// Path: app/src/main/java/com/crazyhitty/chdev/ks/munch/models/SourceItem.java
// public class SourceItem {
//     private String sourceName, sourceUrl, sourceCategoryName, sourceDateAdded;
//     private int sourceCategoryImgId;
// 
//     public int getSourceCategoryImgId() {
//         return sourceCategoryImgId;
//     }
// 
//     public void setSourceCategoryImgId(int sourceCategoryImgId) {
//         this.sourceCategoryImgId = sourceCategoryImgId;
//     }
// 
//     public String getSourceName() {
//         return sourceName;
//     }
// 
//     public void setSourceName(String sourceName) {
//         this.sourceName = sourceName;
//     }
// 
//     public String getSourceUrl() {
//         return sourceUrl;
//     }
// 
//     public void setSourceUrl(String sourceUrl) {
//         this.sourceUrl = sourceUrl;
//     }
// 
//     public String getSourceDateAdded() {
//         return sourceDateAdded;
//     }
// 
//     public void setSourceDateAdded(String sourceDateAdded) {
//         this.sourceDateAdded = sourceDateAdded;
//     }
// 
//     public String getSourceCategoryName() {
//         return sourceCategoryName;
//     }
// 
//     public void setSourceCategoryName(String sourceCategoryName) {
//         this.sourceCategoryName = sourceCategoryName;
//     }
// }


import android.content.Context;
import com.crazyhitty.chdev.ks.munch.models.SourceItem;
import java.util.List;
package com.crazyhitty.chdev.ks.munch.curatedfeeds;




/**
 * Created by Kartik_ch on 1/3/2016.
 */
public class CuratedFeedsPresenter implements ICuratedFeedsPresenter, OnCuratedFeedsRetrievedListener {
    private ICuratedFeedsView mView;

    public CuratedFeedsPresenter(ICuratedFeedsView mView) {
        this.mView = mView;
    }

    public void attemptCuratedFeedsLoading(Context context) {
        CuratedFeedsInteractor curatedFeedsInteractor = new CuratedFeedsInteractor();
        curatedFeedsInteractor.fetchCuratedFeedsFromServer(this, context);
    }

    @Override
// Path: app/src/main/java/com/crazyhitty/chdev/ks/munch/models/SourceItem.java
// public class SourceItem {
//     private String sourceName, sourceUrl, sourceCategoryName, sourceDateAdded;
//     private int sourceCategoryImgId;
// 
//     public int getSourceCategoryImgId() {
//         return sourceCategoryImgId;
//     }
// 
//     public void setSourceCategoryImgId(int sourceCategoryImgId) {
//         this.sourceCategoryImgId = sourceCategoryImgId;
//     }
// 
//     public String getSourceName() {
//         return sourceName;
//     }
// 
//     public void setSourceName(String sourceName) {
//         this.sourceName = sourceName;
//     }
// 
//     public String getSourceUrl() {
//         return sourceUrl;
//     }
// 
//     public void setSourceUrl(String sourceUrl) {
//         this.sourceUrl = sourceUrl;
//     }
// 
//     public String getSourceDateAdded() {
//         return sourceDateAdded;
//     }
// 
//     public void setSourceDateAdded(String sourceDateAdded) {
//         this.sourceDateAdded = sourceDateAdded;
//     }
// 
//     public String getSourceCategoryName() {
//         return sourceCategoryName;
//     }
// 
//     public void setSourceCategoryName(String sourceCategoryName) {
//         this.sourceCategoryName = sourceCategoryName;
//     }
// }


// Path: app/src/main/java/com/crazyhitty/chdev/ks/munch/curatedfeeds/CuratedFeedsPresenter.java
import android.content.Context;
import com.crazyhitty.chdev.ks.munch.models.SourceItem;
import java.util.List;

package com.crazyhitty.chdev.ks.munch.curatedfeeds;




/**
 * Created by Kartik_ch on 1/3/2016.
 */
public class CuratedFeedsPresenter implements ICuratedFeedsPresenter, OnCuratedFeedsRetrievedListener {
    private ICuratedFeedsView mView;

    public CuratedFeedsPresenter(ICuratedFeedsView mView) {
        this.mView = mView;
    }

    public void attemptCuratedFeedsLoading(Context context) {
        CuratedFeedsInteractor curatedFeedsInteractor = new CuratedFeedsInteractor();
        curatedFeedsInteractor.fetchCuratedFeedsFromServer(this, context);
    }

    @Override
    public void onSuccess(List<SourceItem> sourceItems) {