This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.gdu.util; | |
| import android.graphics.Rect; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import com.gdu.util.logger.MyLogUtils; | |
| /** | |
| * 检查屏幕变化自动适应屏幕的工具 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import okhttp3.Headers | |
| import okhttp3.Interceptor | |
| import okhttp3.Response | |
| import okhttp3.internal.platform.Platform | |
| import okhttp3.internal.platform.Platform.Companion.INFO | |
| import okio.Buffer | |
| import okio.GzipSource | |
| import java.io.EOFException | |
| import java.io.IOException | |
| import java.nio.charset.Charset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.collection.ArrayMap; | |
| // 此路径会随包名变动 | |
| import com.csjy.emptytempate.MyEventBusIndex; | |
| import org.greenrobot.eventbus.EventBus; | |
| import org.greenrobot.eventbus.Subscribe; | |
| import org.greenrobot.eventbus.ThreadMode; | |
| import org.greenrobot.eventbus.meta.SubscriberInfoIndex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.widget.ImageView; | |
| import com.bumptech.glide.Glide; | |
| import com.bumptech.glide.RequestBuilder; | |
| import com.bumptech.glide.RequestManager; | |
| import com.bumptech.glide.load.resource.bitmap.CircleCrop; | |
| import com.bumptech.glide.request.RequestOptions; | |
| public class GlideLoader implements ILoaderStrategy { | |
| private RequestBuilder requestBuilder = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.annotation.SuppressLint; | |
| import android.app.Activity; | |
| import android.app.ActivityManager; | |
| import android.content.ContentResolver; | |
| import android.content.ContentUris; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.pm.PackageInfo; | |
| import android.content.pm.PackageManager; | |
| import android.content.res.AssetManager; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.annotation.SuppressLint; | |
| import android.annotation.TargetApi; | |
| import android.content.Context; | |
| import android.content.res.ColorStateList; | |
| import android.content.res.TypedArray; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.Paint; | |
| import android.graphics.Path; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Key { | |
| private final String name; | |
| private final int width; | |
| private final int height; | |
| public Key(String name, int width, int height) { | |
| this.name = name; | |
| this.width = width; | |
| this.height = height; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import androidx.annotation.Nullable; | |
| import androidx.recyclerview.widget.LinearLayoutManager; | |
| import androidx.recyclerview.widget.RecyclerView; | |
| import com.junruy.lprj.utils.log.MyLogUtils; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.Context; | |
| import android.graphics.Canvas; | |
| import android.graphics.Paint; | |
| import android.graphics.drawable.Drawable; | |
| import android.util.AttributeSet; | |
| import androidx.appcompat.widget.AppCompatTextView; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.Context; | |
| import android.text.SpannableStringBuilder; | |
| import android.text.Spanned; | |
| import android.util.AttributeSet; | |
| import androidx.annotation.NonNull; | |
| import androidx.annotation.Nullable; | |
| import androidx.appcompat.widget.AppCompatTextView; |