// Path: app/src/main/java/huyifei/mymvp/architecture/common/Constants.java
// public class Constants {
//     public static final String DOWNLOAD_URL = "http://dl.bizhi.sogou.com/images/2015/06/26/1214911.jpg";
//     public static final String DOWNLOAD_ERROR_URL = "http://dl.bizhi.sogou.com/images/06/26/1214911.jpg";
// 
//     public static final String LOCAL_FILE_PATH = Environment.getExternalStorageDirectory().getPath() + File.separator + "test.jpg";
// }


import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.Toast;
import com.bumptech.glide.Glide;
import huyifei.mymvp.R;
import huyifei.mymvp.architecture.common.Constants;
package huyifei.mymvp.architecture.mvp;




public class MVPActivity extends AppCompatActivity implements IDownloadView {
    private Context mContext;
    private ImageView mImageView;
    private ProgressDialog progressDialog;

    private DownloadPresenter mDownloadPresenter;

    @Override
// Path: app/src/main/java/huyifei/mymvp/architecture/common/Constants.java
// public class Constants {
//     public static final String DOWNLOAD_URL = "http://dl.bizhi.sogou.com/images/2015/06/26/1214911.jpg";
//     public static final String DOWNLOAD_ERROR_URL = "http://dl.bizhi.sogou.com/images/06/26/1214911.jpg";
// 
//     public static final String LOCAL_FILE_PATH = Environment.getExternalStorageDirectory().getPath() + File.separator + "test.jpg";
// }


// Path: app/src/main/java/huyifei/mymvp/architecture/mvp/MVPActivity.java
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.Toast;
import com.bumptech.glide.Glide;
import huyifei.mymvp.R;
import huyifei.mymvp.architecture.common.Constants;

package huyifei.mymvp.architecture.mvp;




public class MVPActivity extends AppCompatActivity implements IDownloadView {
    private Context mContext;
    private ImageView mImageView;
    private ProgressDialog progressDialog;

    private DownloadPresenter mDownloadPresenter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {