更换包名
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary
|
||||
package com.arpa.mylibrary
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.dahe.mylibrary">
|
||||
package="com.arpa.mylibrary">
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary;
|
||||
package com.arpa.mylibrary;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Application;
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.adapter
|
||||
package com.arpa.mylibrary.adapter
|
||||
|
||||
import android.content.Context
|
||||
import android.net.Uri
|
||||
@@ -10,8 +10,8 @@ import android.widget.TextView
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.bumptech.glide.Glide
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy
|
||||
import com.dahe.mylibrary.R
|
||||
import com.dahe.mylibrary.callback.OnItemLongClickListener
|
||||
import com.arpa.mylibrary.R
|
||||
import com.arpa.mylibrary.callback.OnItemLongClickListener
|
||||
import com.luck.picture.lib.config.PictureMimeType
|
||||
import com.luck.picture.lib.config.SelectMimeType
|
||||
import com.luck.picture.lib.entity.LocalMedia
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.adapter
|
||||
package com.arpa.mylibrary.adapter
|
||||
|
||||
import android.content.Context
|
||||
import android.net.Uri
|
||||
@@ -10,8 +10,8 @@ import android.widget.TextView
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.bumptech.glide.Glide
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy
|
||||
import com.dahe.mylibrary.R
|
||||
import com.dahe.mylibrary.callback.OnItemLongClickListener
|
||||
import com.arpa.mylibrary.R
|
||||
import com.arpa.mylibrary.callback.OnItemLongClickListener
|
||||
import com.luck.picture.lib.config.PictureMimeType
|
||||
import com.luck.picture.lib.config.SelectMimeType
|
||||
import com.luck.picture.lib.entity.LocalMedia
|
||||
+7
-11
@@ -1,8 +1,6 @@
|
||||
package com.dahe.mylibrary.base;
|
||||
package com.arpa.mylibrary.base;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
@@ -21,20 +19,18 @@ import androidx.appcompat.widget.Toolbar;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.dahe.mylibrary.callback.RefreshCallBack;
|
||||
import com.dahe.mylibrary.utils.BarUtils;
|
||||
import com.dahe.mylibrary.utils.LoadingUtils;
|
||||
import com.dahe.mylibrary.utils.StatusBar;
|
||||
import com.dahe.mylibrary.utils.ToastUtils;
|
||||
import com.arpa.mylibrary.R;
|
||||
import com.arpa.mylibrary.callback.RefreshCallBack;
|
||||
import com.arpa.mylibrary.utils.BarUtils;
|
||||
import com.arpa.mylibrary.utils.LoadingUtils;
|
||||
import com.arpa.mylibrary.utils.StatusBar;
|
||||
import com.arpa.mylibrary.utils.ToastUtils;
|
||||
import com.lxj.xpopup.impl.LoadingPopupView;
|
||||
import com.scwang.smart.refresh.layout.SmartRefreshLayout;
|
||||
import com.scwang.smart.refresh.layout.api.RefreshLayout;
|
||||
import com.scwang.smart.refresh.layout.constant.RefreshState;
|
||||
import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.ParameterizedType;
|
||||
|
||||
+5
-8
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.base;
|
||||
package com.arpa.mylibrary.base;
|
||||
|
||||
|
||||
import android.content.Context;
|
||||
@@ -16,20 +16,17 @@ import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.dahe.mylibrary.callback.RefreshCallBack;
|
||||
import com.dahe.mylibrary.utils.StatusBar;
|
||||
import com.dahe.mylibrary.utils.ToastUtils;
|
||||
import com.arpa.mylibrary.R;
|
||||
import com.arpa.mylibrary.callback.RefreshCallBack;
|
||||
import com.arpa.mylibrary.utils.StatusBar;
|
||||
import com.arpa.mylibrary.utils.ToastUtils;
|
||||
import com.scwang.smart.refresh.layout.SmartRefreshLayout;
|
||||
import com.scwang.smart.refresh.layout.api.RefreshLayout;
|
||||
import com.scwang.smart.refresh.layout.constant.RefreshState;
|
||||
import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.ParameterizedType;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.base
|
||||
package com.arpa.mylibrary.base
|
||||
|
||||
/**
|
||||
* @ClassName BaseSingleton
|
||||
+1
-4
@@ -1,7 +1,4 @@
|
||||
package com.dahe.mylibrary.base
|
||||
|
||||
import android.content.Context
|
||||
import kotlin.reflect.KFunction0
|
||||
package com.arpa.mylibrary.base
|
||||
|
||||
/**
|
||||
* @ClassName SingletonHolder
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.bean;
|
||||
package com.arpa.mylibrary.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.bean;
|
||||
package com.arpa.mylibrary.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.bean;
|
||||
package com.arpa.mylibrary.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.bean;
|
||||
package com.arpa.mylibrary.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.callback;
|
||||
package com.arpa.mylibrary.callback;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.callback
|
||||
package com.arpa.mylibrary.callback
|
||||
|
||||
/**
|
||||
* @ClassName OnMyDatePickedListener
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.callback
|
||||
package com.arpa.mylibrary.callback
|
||||
|
||||
import com.luck.picture.lib.entity.LocalMedia
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.callback
|
||||
package com.arpa.mylibrary.callback
|
||||
|
||||
/**
|
||||
* @ClassName SwitchListener
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.callback;
|
||||
package com.arpa.mylibrary.callback;
|
||||
|
||||
/**
|
||||
* 刷新的回调
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.dialog;
|
||||
package com.arpa.mylibrary.dialog;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
@@ -10,7 +10,7 @@ import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
|
||||
|
||||
/**
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.dialog;
|
||||
package com.arpa.mylibrary.dialog;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
@@ -9,7 +9,7 @@ import android.view.WindowManager;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
|
||||
|
||||
/**
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.dialog;
|
||||
package com.arpa.mylibrary.dialog;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.glide;
|
||||
package com.arpa.mylibrary.glide;
|
||||
|
||||
import android.content.Context;
|
||||
import android.widget.ImageView;
|
||||
@@ -6,7 +6,7 @@ import android.widget.ImageView;
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.bumptech.glide.load.resource.bitmap.CenterCrop;
|
||||
import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
import com.luck.picture.lib.engine.ImageEngine;
|
||||
import com.luck.picture.lib.utils.ActivityCompatHelper;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.glide;
|
||||
package com.arpa.mylibrary.glide;
|
||||
|
||||
import java.security.cert.CertificateException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
public class ErrorResponse {
|
||||
private int code;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
||||
+1
-6
@@ -1,19 +1,14 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
|
||||
import com.google.zxing.common.StringUtils;
|
||||
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import kotlin.Pair;
|
||||
import okhttp3.Headers;
|
||||
import okhttp3.Interceptor;
|
||||
import okhttp3.MediaType;
|
||||
import okhttp3.Request;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by Administrator on 2018\8\26 0026.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.net;
|
||||
package com.arpa.mylibrary.net;
|
||||
|
||||
public class ResultException extends Exception {
|
||||
|
||||
+6
-6
@@ -1,13 +1,13 @@
|
||||
package com.dahe.mylibrary.pop
|
||||
package com.arpa.mylibrary.pop
|
||||
|
||||
import android.content.Context
|
||||
import android.widget.Button
|
||||
import android.widget.ImageView
|
||||
import com.dahe.mylibrary.R
|
||||
import com.dahe.mylibrary.adapter.GridImageAdapter
|
||||
import com.dahe.mylibrary.callback.OnPicResultListener
|
||||
import com.dahe.mylibrary.weight.GlideEngine
|
||||
import com.dahe.mylibrary.weight.ImageFileCompressEngine
|
||||
import com.arpa.mylibrary.R
|
||||
import com.arpa.mylibrary.adapter.GridImageAdapter
|
||||
import com.arpa.mylibrary.callback.OnPicResultListener
|
||||
import com.arpa.mylibrary.weight.GlideEngine
|
||||
import com.arpa.mylibrary.weight.ImageFileCompressEngine
|
||||
import com.luck.picture.lib.basic.PictureSelectionCameraModel
|
||||
import com.luck.picture.lib.basic.PictureSelectionModel
|
||||
import com.luck.picture.lib.basic.PictureSelector
|
||||
+5
-7
@@ -1,17 +1,15 @@
|
||||
package com.dahe.mylibrary.pop
|
||||
package com.arpa.mylibrary.pop
|
||||
|
||||
import android.content.Context
|
||||
import android.widget.Button
|
||||
import com.dahe.mylibrary.R
|
||||
import com.dahe.mylibrary.adapter.GridImageAdapter
|
||||
import com.dahe.mylibrary.callback.OnPicResultListener
|
||||
import com.dahe.mylibrary.weight.GlideEngine
|
||||
import com.dahe.mylibrary.weight.ImageFileCompressEngine
|
||||
import com.arpa.mylibrary.R
|
||||
import com.arpa.mylibrary.callback.OnPicResultListener
|
||||
import com.arpa.mylibrary.weight.GlideEngine
|
||||
import com.arpa.mylibrary.weight.ImageFileCompressEngine
|
||||
import com.luck.picture.lib.basic.PictureSelectionCameraModel
|
||||
import com.luck.picture.lib.basic.PictureSelectionModel
|
||||
import com.luck.picture.lib.basic.PictureSelector
|
||||
import com.luck.picture.lib.config.SelectMimeType
|
||||
import com.luck.picture.lib.config.SelectModeConfig
|
||||
import com.luck.picture.lib.entity.LocalMedia
|
||||
import com.luck.picture.lib.interfaces.OnResultCallbackListener
|
||||
import com.lxj.xpopup.core.BottomPopupView
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.recycleviewswipe;
|
||||
package com.arpa.mylibrary.recycleviewswipe;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.view.View;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.recycleviewswipe;
|
||||
package com.arpa.mylibrary.recycleviewswipe;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
|
||||
import android.app.Activity;
|
||||
@@ -11,7 +11,7 @@ import android.os.Bundle;
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
|
||||
import com.dahe.mylibrary.CommonBaseLibrary;
|
||||
import com.arpa.mylibrary.CommonBaseLibrary;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.Activity;
|
||||
@@ -23,7 +23,7 @@ import androidx.annotation.NonNull;
|
||||
import androidx.core.content.FileProvider;
|
||||
|
||||
|
||||
import com.dahe.mylibrary.CommonBaseLibrary;
|
||||
import com.arpa.mylibrary.CommonBaseLibrary;
|
||||
|
||||
import java.io.File;
|
||||
import java.security.MessageDigest;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.Activity;
|
||||
@@ -27,7 +27,7 @@ import androidx.annotation.RequiresPermission;
|
||||
import androidx.drawerlayout.widget.DrawerLayout;
|
||||
|
||||
|
||||
import com.dahe.mylibrary.CommonBaseLibrary;
|
||||
import com.arpa.mylibrary.CommonBaseLibrary;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.ContentResolver;
|
||||
@@ -16,7 +16,7 @@ import android.view.inputmethod.InputMethodManager;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
import com.shehuan.nicedialog.BaseNiceDialog;
|
||||
import com.shehuan.nicedialog.NiceDialog;
|
||||
import com.shehuan.nicedialog.ViewConvertListener;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Environment;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
@@ -13,7 +13,7 @@ import android.graphics.drawable.Drawable;
|
||||
import android.view.View;
|
||||
|
||||
|
||||
import com.dahe.mylibrary.CommonBaseLibrary;
|
||||
import com.arpa.mylibrary.CommonBaseLibrary;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.os.CountDownTimer;
|
||||
import android.widget.TextView;
|
||||
+1
-4
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
@@ -13,7 +13,6 @@ import android.widget.Toast;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.FilenameFilter;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.StringWriter;
|
||||
import java.io.Writer;
|
||||
@@ -24,8 +23,6 @@ import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import static android.os.Environment.DIRECTORY_ALARMS;
|
||||
|
||||
/**
|
||||
* <h3>全局捕获异常</h3>
|
||||
* <br>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageInfo;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
import java.io.BufferedReader;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.Comparator;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import static com.dahe.mylibrary.utils.CrashHandler.TAG;
|
||||
import static com.arpa.mylibrary.utils.CrashHandler.TAG;
|
||||
|
||||
public class FileUtil {
|
||||
|
||||
+1
-3
@@ -1,15 +1,13 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.net.Uri;
|
||||
import android.provider.MediaStore;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.FilenameFilter;
|
||||
import java.io.IOException;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.content.Context;
|
||||
import android.widget.ImageView;
|
||||
@@ -10,7 +10,7 @@ import com.bumptech.glide.load.MultiTransformation;
|
||||
import com.bumptech.glide.load.resource.bitmap.CenterCrop;
|
||||
import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
|
||||
import com.bumptech.glide.request.RequestOptions;
|
||||
import com.dahe.mylibrary.weight.GlideCircleWithBorder;
|
||||
import com.arpa.mylibrary.weight.GlideCircleWithBorder;
|
||||
|
||||
/**
|
||||
* Created by Administrator on 2017/11/27 0027.
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
package com.dahe.mylibrary.utils
|
||||
package com.arpa.mylibrary.utils
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import com.dahe.mylibrary.R
|
||||
import com.lxj.xpopup.XPopup
|
||||
import com.lxj.xpopup.impl.LoadingPopupView
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.dahe.mylibrary.utils
|
||||
package com.arpa.mylibrary.utils
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import com.dahe.mylibrary.base.SingletonHolder
|
||||
import com.arpa.mylibrary.base.SingletonHolder
|
||||
import com.lxj.xpopup.XPopup
|
||||
import com.lxj.xpopup.impl.LoadingPopupView
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.File;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
|
||||
import androidx.annotation.IntDef;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
+3
-4
@@ -1,9 +1,8 @@
|
||||
package com.dahe.mylibrary.utils
|
||||
package com.arpa.mylibrary.utils
|
||||
|
||||
import android.view.View
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import com.dahe.mylibrary.base.SingletonNoPHolder
|
||||
import com.dahe.mylibrary.callback.OnMyDatePickedListener
|
||||
import com.arpa.mylibrary.base.SingletonNoPHolder
|
||||
import com.arpa.mylibrary.callback.OnMyDatePickedListener
|
||||
import com.github.gzuliyujiang.wheelpicker.AddressPicker
|
||||
import com.github.gzuliyujiang.wheelpicker.BirthdayPicker
|
||||
import com.github.gzuliyujiang.wheelpicker.DatePicker
|
||||
+6
-6
@@ -1,12 +1,12 @@
|
||||
package com.dahe.mylibrary.utils
|
||||
package com.arpa.mylibrary.utils
|
||||
|
||||
import android.content.Context
|
||||
import android.widget.ImageView
|
||||
import com.dahe.mylibrary.adapter.GridImageAdapter
|
||||
import com.dahe.mylibrary.base.SingletonNoPHolder
|
||||
import com.dahe.mylibrary.callback.OnPicResultListener
|
||||
import com.dahe.mylibrary.pop.PopBottomPic
|
||||
import com.dahe.mylibrary.pop.PopNorBottomPic
|
||||
import com.arpa.mylibrary.adapter.GridImageAdapter
|
||||
import com.arpa.mylibrary.base.SingletonNoPHolder
|
||||
import com.arpa.mylibrary.callback.OnPicResultListener
|
||||
import com.arpa.mylibrary.pop.PopBottomPic
|
||||
import com.arpa.mylibrary.pop.PopNorBottomPic
|
||||
import com.lxj.xpopup.XPopup
|
||||
|
||||
/**
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils
|
||||
package com.arpa.mylibrary.utils
|
||||
|
||||
import java.util.regex.Pattern
|
||||
|
||||
+1
-8
@@ -1,12 +1,5 @@
|
||||
package com.dahe.mylibrary.utils
|
||||
package com.arpa.mylibrary.utils
|
||||
|
||||
import android.content.Context
|
||||
import com.dahe.mylibrary.base.BaseSingleton
|
||||
import com.dahe.mylibrary.weight.GlideEngine
|
||||
import com.dahe.mylibrary.weight.ImageFileCompressEngine
|
||||
import com.luck.picture.lib.basic.PictureSelectionModel
|
||||
import com.luck.picture.lib.basic.PictureSelector
|
||||
import com.luck.picture.lib.config.SelectMimeType
|
||||
import com.luck.picture.lib.entity.LocalMedia
|
||||
|
||||
/**
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
|
||||
import java.io.BufferedReader;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Build;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.Activity;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.animation.ValueAnimator;
|
||||
import android.annotation.TargetApi;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLDecoder;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
|
||||
import androidx.annotation.IntDef;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.utils;
|
||||
package com.arpa.mylibrary.utils;
|
||||
|
||||
import android.content.Context;
|
||||
import android.text.TextUtils;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
@@ -10,7 +10,7 @@ import android.view.animation.BounceInterpolator;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
/**
|
||||
* 自定义View实现拖动并自动吸边效果
|
||||
* <p>
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
@@ -15,7 +15,7 @@ import android.view.animation.Animation;
|
||||
import android.view.animation.Transformation;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
|
||||
/**
|
||||
* @ClassName CircleBarView
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.animation.ValueAnimator;
|
||||
import android.content.Context;
|
||||
@@ -12,7 +12,7 @@ import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.view.animation.DecelerateInterpolator;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
|
||||
/**
|
||||
* @ClassName CircleBarView2
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.content.Context;
|
||||
import android.widget.ImageView;
|
||||
@@ -6,7 +6,7 @@ import android.widget.ImageView;
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.bumptech.glide.load.resource.bitmap.CenterCrop;
|
||||
import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
import com.luck.picture.lib.engine.ImageEngine;
|
||||
import com.luck.picture.lib.utils.ActivityCompatHelper;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight
|
||||
package com.arpa.mylibrary.weight
|
||||
|
||||
import android.content.Context
|
||||
import android.net.Uri
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.animation.ObjectAnimator;
|
||||
import android.annotation.SuppressLint;
|
||||
+2
-4
@@ -1,6 +1,5 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.util.AttributeSet;
|
||||
@@ -11,8 +10,7 @@ import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.dahe.mylibrary.utils.ToastUtils;
|
||||
import com.arpa.mylibrary.R;
|
||||
|
||||
public class MySlideBar extends RelativeLayout implements View.OnClickListener {
|
||||
|
||||
+2
-3
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Canvas;
|
||||
@@ -6,13 +6,12 @@ import android.graphics.Color;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.os.Vibrator;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
|
||||
public class SideBar extends View {
|
||||
// 触摸事件
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight;
|
||||
package com.arpa.mylibrary.weight;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.content.Context;
|
||||
@@ -19,7 +19,7 @@ import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.animation.AccelerateInterpolator;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
|
||||
|
||||
/**
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight.segmentcontrol;
|
||||
package com.arpa.mylibrary.weight.segmentcontrol;
|
||||
|
||||
|
||||
import android.graphics.Canvas;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary.weight.segmentcontrol;
|
||||
package com.arpa.mylibrary.weight.segmentcontrol;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
@@ -13,7 +13,7 @@ import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewConfiguration;
|
||||
|
||||
import com.dahe.mylibrary.R;
|
||||
import com.arpa.mylibrary.R;
|
||||
|
||||
|
||||
/**
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.dahe.mylibrary
|
||||
package com.arpa.mylibrary
|
||||
|
||||
import org.junit.Test
|
||||
|
||||
Reference in New Issue
Block a user