// Path: app/src/main/java/com/livingstoneapp/interactors/IPackageInteractor.java
// public interface IPackageInteractor {
//     Observable<ArrayList<InstalledPackageHeader>> getInstalledPackages(boolean refresh);
//     Observable<String> getAppNameFromPackage(String packageName);
//     Observable<AppInfo> getApplicationInfo(String packageName);
//     Observable<ArrayList<FeatureInfoInternal>> getRequestedFeatures(String packageName);
// 
// }
// 
// Path: app/src/main/java/com/livingstoneapp/views/IRequestedFeaturesFragmentView.java
// public interface IRequestedFeaturesFragmentView {
//     void showError(String message);
//     void setModel(ArrayList<FeatureInfoInternal> permissions);
//     void showWaitDialog();
//     void hideWaitDialog();
//     void showDetailContainer();
//     void hideDetailContainer();
//     void showNoValuesText();
//     void hideNoValuesText();
// }


import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import com.livingstoneapp.interactors.IPackageInteractor;
import com.livingstoneapp.views.IRequestedFeaturesFragmentView;
package com.livingstoneapp.presenters;


/**
 * Created by renier on 2/18/2016.
 */
public class RequestedFeaturesFragmentPresenterImpl implements IRequestedFeaturesFragmentPresenter {
    private IPackageInteractor mInteractor;
// Path: app/src/main/java/com/livingstoneapp/interactors/IPackageInteractor.java
// public interface IPackageInteractor {
//     Observable<ArrayList<InstalledPackageHeader>> getInstalledPackages(boolean refresh);
//     Observable<String> getAppNameFromPackage(String packageName);
//     Observable<AppInfo> getApplicationInfo(String packageName);
//     Observable<ArrayList<FeatureInfoInternal>> getRequestedFeatures(String packageName);
// 
// }
// 
// Path: app/src/main/java/com/livingstoneapp/views/IRequestedFeaturesFragmentView.java
// public interface IRequestedFeaturesFragmentView {
//     void showError(String message);
//     void setModel(ArrayList<FeatureInfoInternal> permissions);
//     void showWaitDialog();
//     void hideWaitDialog();
//     void showDetailContainer();
//     void hideDetailContainer();
//     void showNoValuesText();
//     void hideNoValuesText();
// }


// Path: app/src/main/java/com/livingstoneapp/presenters/RequestedFeaturesFragmentPresenterImpl.java
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import com.livingstoneapp.interactors.IPackageInteractor;
import com.livingstoneapp.views.IRequestedFeaturesFragmentView;

package com.livingstoneapp.presenters;


/**
 * Created by renier on 2/18/2016.
 */
public class RequestedFeaturesFragmentPresenterImpl implements IRequestedFeaturesFragmentPresenter {
    private IPackageInteractor mInteractor;
    private IRequestedFeaturesFragmentView mView;