// 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/IPackageDetailFragmentView.java
// public interface IPackageDetailFragmentView {
// 
//     void setTitle(String title);
//     void showWaitDialog();
//     void hideWaitDialog();
//     void showDetailContainer();
//     void hideDetailContainer();
//     void initViews(String appName, String packageName);
//     void showError(String message);
// }


import javax.inject.Inject;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import com.livingstoneapp.interactors.IPackageInteractor;
import com.livingstoneapp.views.IPackageDetailFragmentView;
package com.livingstoneapp.presenters;



/**
 * Created by renier on 2/3/2016.
 */
public class PackageDetailFragmentPresenterImpl implements IPackageDetailFragmentPresenter {

    private IPackageInteractor mPackageInteractor;
// 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/IPackageDetailFragmentView.java
// public interface IPackageDetailFragmentView {
// 
//     void setTitle(String title);
//     void showWaitDialog();
//     void hideWaitDialog();
//     void showDetailContainer();
//     void hideDetailContainer();
//     void initViews(String appName, String packageName);
//     void showError(String message);
// }


// Path: app/src/main/java/com/livingstoneapp/presenters/PackageDetailFragmentPresenterImpl.java
import javax.inject.Inject;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import com.livingstoneapp.interactors.IPackageInteractor;
import com.livingstoneapp.views.IPackageDetailFragmentView;

package com.livingstoneapp.presenters;



/**
 * Created by renier on 2/3/2016.
 */
public class PackageDetailFragmentPresenterImpl implements IPackageDetailFragmentPresenter {

    private IPackageInteractor mPackageInteractor;
    private IPackageDetailFragmentView mView;