|
|
@@ -1,14 +1,11 @@
|
|
|
package com.usai.apex;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
import org.json.JSONException;
|
|
|
import org.json.JSONObject;
|
|
|
|
|
|
import com.usai.util.Network;
|
|
|
import com.usai.util.commonUtil;
|
|
|
|
|
|
-import android.R.integer;
|
|
|
import android.animation.Animator;
|
|
|
import android.animation.AnimatorListenerAdapter;
|
|
|
import android.app.AlertDialog;
|
|
|
@@ -18,14 +15,12 @@ import android.app.AlertDialog.Builder;
|
|
|
import android.app.DownloadManager.Request;
|
|
|
import android.content.Context;
|
|
|
import android.content.DialogInterface;
|
|
|
-import android.content.Intent;
|
|
|
import android.graphics.Bitmap;
|
|
|
import android.net.Uri;
|
|
|
import android.os.AsyncTask;
|
|
|
import android.os.Build;
|
|
|
import android.os.Bundle;
|
|
|
import android.support.v4.app.Fragment;
|
|
|
-import android.support.v4.app.FragmentManager;
|
|
|
import android.text.Html;
|
|
|
import android.util.Log;
|
|
|
import android.util.SparseIntArray;
|
|
|
@@ -35,7 +30,6 @@ import android.view.View;
|
|
|
import android.view.View.OnClickListener;
|
|
|
import android.view.ViewGroup;
|
|
|
import android.webkit.DownloadListener;
|
|
|
-import android.webkit.WebChromeClient;
|
|
|
import android.webkit.WebView;
|
|
|
import android.webkit.WebViewClient;
|
|
|
import android.widget.Button;
|
|
|
@@ -347,7 +341,7 @@ public class DetailFragment extends Fragment implements OnClickListener /*
|
|
|
public void onClick(
|
|
|
DialogInterface dialog,
|
|
|
int which) {
|
|
|
- long id = downloadManager
|
|
|
+ downloadManager
|
|
|
.enqueue(request);
|
|
|
dialog.dismiss();
|
|
|
|