Commit 86e8ec62 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent abb61af2
...@@ -18,7 +18,7 @@ import android.os.SystemClock ...@@ -18,7 +18,7 @@ import android.os.SystemClock
import android.provider.Settings import android.provider.Settings
import android.telephony.TelephonyManager import android.telephony.TelephonyManager
import android.text.TextUtils import android.text.TextUtils
import com.mints.library.utils.json.JsonUtil import com.duben.library.utils.json.JsonUtil
import com.duben.infinitefunjia.MintsApplication import com.duben.infinitefunjia.MintsApplication
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.utils.SimUtils import com.duben.infinitefunjia.utils.SimUtils
......
package com.duben.infinitefunjia.manager; package com.duben.infinitefunjia.manager;
import com.duben.infinitefunjia.MintsApplication; import com.duben.infinitefunjia.MintsApplication;
import com.mints.library.net.neterror.HttpResponseFunc; import com.duben.library.net.neterror.HttpResponseFunc;
import com.duben.infinitefunjia.mvp.model.BaseResponse; import com.duben.infinitefunjia.mvp.model.BaseResponse;
import rx.Observable; import rx.Observable;
......
...@@ -2,7 +2,7 @@ package com.duben.infinitefunjia.mvp.presenters ...@@ -2,7 +2,7 @@ package com.duben.infinitefunjia.mvp.presenters
import com.google.gson.JsonObject import com.google.gson.JsonObject
import com.duben.infinitefunjia.common.DeviceInfo import com.duben.infinitefunjia.common.DeviceInfo
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.infinitefunjia.manager.AppHttpManager import com.duben.infinitefunjia.manager.AppHttpManager
import com.duben.infinitefunjia.manager.UserManager import com.duben.infinitefunjia.manager.UserManager
import com.duben.infinitefunjia.mvp.model.BaseResponse import com.duben.infinitefunjia.mvp.model.BaseResponse
...@@ -10,7 +10,7 @@ import com.duben.infinitefunjia.mvp.model.BookListBean ...@@ -10,7 +10,7 @@ import com.duben.infinitefunjia.mvp.model.BookListBean
import com.duben.infinitefunjia.mvp.model.UserBean import com.duben.infinitefunjia.mvp.model.UserBean
import com.duben.infinitefunjia.mvp.views.BookCityView import com.duben.infinitefunjia.mvp.views.BookCityView
import com.duben.infinitefunjia.utils.DeviceUuidFactory import com.duben.infinitefunjia.utils.DeviceUuidFactory
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import java.util.HashMap import java.util.HashMap
class BookCityPresenter : BasePresenter<BookCityView>() { class BookCityPresenter : BasePresenter<BookCityView>() {
......
package com.duben.infinitefunjia.mvp.presenters package com.duben.infinitefunjia.mvp.presenters
import com.google.gson.JsonObject import com.google.gson.JsonObject
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.infinitefunjia.manager.AppHttpManager import com.duben.infinitefunjia.manager.AppHttpManager
import com.duben.infinitefunjia.mvp.model.BaseResponse import com.duben.infinitefunjia.mvp.model.BaseResponse
import com.duben.infinitefunjia.mvp.model.BookContentBean import com.duben.infinitefunjia.mvp.model.BookContentBean
import com.duben.infinitefunjia.mvp.views.BookReadView import com.duben.infinitefunjia.mvp.views.BookReadView
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import java.util.HashMap import java.util.HashMap
class BookReadPresenter : BasePresenter<BookReadView>() { class BookReadPresenter : BasePresenter<BookReadView>() {
......
package com.duben.infinitefunjia.mvp.presenters package com.duben.infinitefunjia.mvp.presenters
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.infinitefunjia.manager.AppHttpManager import com.duben.infinitefunjia.manager.AppHttpManager
import com.duben.infinitefunjia.mvp.model.BaseResponse import com.duben.infinitefunjia.mvp.model.BaseResponse
import com.duben.infinitefunjia.mvp.model.BookListBean import com.duben.infinitefunjia.mvp.model.BookListBean
import com.duben.infinitefunjia.mvp.views.BookSearchView import com.duben.infinitefunjia.mvp.views.BookSearchView
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import java.util.HashMap import java.util.HashMap
class BookSearchPresenter : BasePresenter<BookSearchView>() { class BookSearchPresenter : BasePresenter<BookSearchView>() {
......
package com.duben.infinitefunjia.mvp.presenters package com.duben.infinitefunjia.mvp.presenters
import com.google.gson.JsonObject import com.google.gson.JsonObject
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.infinitefunjia.manager.AppHttpManager import com.duben.infinitefunjia.manager.AppHttpManager
import com.duben.infinitefunjia.mvp.model.BaseResponse import com.duben.infinitefunjia.mvp.model.BaseResponse
import com.duben.infinitefunjia.mvp.model.BookListBean import com.duben.infinitefunjia.mvp.model.BookListBean
import com.duben.infinitefunjia.mvp.views.BookShelfView import com.duben.infinitefunjia.mvp.views.BookShelfView
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import java.util.HashMap import java.util.HashMap
class BookShelfPresenter : BasePresenter<BookShelfView>() { class BookShelfPresenter : BasePresenter<BookShelfView>() {
......
...@@ -6,8 +6,8 @@ import com.duben.infinitefunjia.manager.UserManager ...@@ -6,8 +6,8 @@ import com.duben.infinitefunjia.manager.UserManager
import com.duben.infinitefunjia.mvp.model.* import com.duben.infinitefunjia.mvp.model.*
import com.duben.infinitefunjia.mvp.views.CountView import com.duben.infinitefunjia.mvp.views.CountView
import com.duben.infinitefunjia.utils.DeviceUuidFactory import com.duben.infinitefunjia.utils.DeviceUuidFactory
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
class CountPresenter : BasePresenter<CountView>() { class CountPresenter : BasePresenter<CountView>() {
......
...@@ -8,8 +8,8 @@ import com.duben.infinitefunjia.mvp.model.UserBean ...@@ -8,8 +8,8 @@ import com.duben.infinitefunjia.mvp.model.UserBean
import com.duben.infinitefunjia.mvp.views.GuideView import com.duben.infinitefunjia.mvp.views.GuideView
import com.duben.infinitefunjia.mvp.views.MyView import com.duben.infinitefunjia.mvp.views.MyView
import com.duben.infinitefunjia.utils.DeviceUuidFactory import com.duben.infinitefunjia.utils.DeviceUuidFactory
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
class GuidePresenter : BasePresenter<GuideView>() { class GuidePresenter : BasePresenter<GuideView>() {
......
...@@ -9,8 +9,8 @@ import com.duben.infinitefunjia.mvp.views.LoginView ...@@ -9,8 +9,8 @@ import com.duben.infinitefunjia.mvp.views.LoginView
import com.duben.infinitefunjia.utils.DeviceUuidFactory import com.duben.infinitefunjia.utils.DeviceUuidFactory
import com.duben.infinitefunjia.utils.rxutil.CommonRxTask import com.duben.infinitefunjia.utils.rxutil.CommonRxTask
import com.duben.infinitefunjia.utils.rxutil.RxjavaUtil import com.duben.infinitefunjia.utils.rxutil.RxjavaUtil
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import java.util.* import java.util.*
class LoginPresenter : BasePresenter<LoginView>() { class LoginPresenter : BasePresenter<LoginView>() {
......
...@@ -7,8 +7,8 @@ import com.duben.infinitefunjia.mvp.model.BaseResponse ...@@ -7,8 +7,8 @@ import com.duben.infinitefunjia.mvp.model.BaseResponse
import com.duben.infinitefunjia.mvp.model.UserBean import com.duben.infinitefunjia.mvp.model.UserBean
import com.duben.infinitefunjia.mvp.views.MyView import com.duben.infinitefunjia.mvp.views.MyView
import com.duben.infinitefunjia.utils.DeviceUuidFactory import com.duben.infinitefunjia.utils.DeviceUuidFactory
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
class MyPresenter : BasePresenter<MyView>() { class MyPresenter : BasePresenter<MyView>() {
......
...@@ -3,8 +3,8 @@ package com.duben.infinitefunjia.mvp.presenters ...@@ -3,8 +3,8 @@ package com.duben.infinitefunjia.mvp.presenters
import com.duben.infinitefunjia.manager.AppHttpManager import com.duben.infinitefunjia.manager.AppHttpManager
import com.duben.infinitefunjia.mvp.model.BaseResponse import com.duben.infinitefunjia.mvp.model.BaseResponse
import com.duben.infinitefunjia.mvp.views.PicContentView import com.duben.infinitefunjia.mvp.views.PicContentView
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.infinitefunjia.mvp.model.BannerList import com.duben.infinitefunjia.mvp.model.BannerList
import com.duben.infinitefunjia.mvp.model.BookListBean import com.duben.infinitefunjia.mvp.model.BookListBean
......
...@@ -2,8 +2,8 @@ package com.duben.infinitefunjia.mvp.presenters; ...@@ -2,8 +2,8 @@ package com.duben.infinitefunjia.mvp.presenters;
import android.content.Context; import android.content.Context;
import com.mints.library.net.neterror.BaseSubscriber; import com.duben.library.net.neterror.BaseSubscriber;
import com.mints.library.net.neterror.Throwable; import com.duben.library.net.neterror.Throwable;
import com.duben.infinitefunjia.MintsApplication; import com.duben.infinitefunjia.MintsApplication;
import com.duben.infinitefunjia.common.DeviceInfo; import com.duben.infinitefunjia.common.DeviceInfo;
import com.duben.infinitefunjia.manager.AppHttpManager; import com.duben.infinitefunjia.manager.AppHttpManager;
......
...@@ -27,11 +27,11 @@ import com.duben.infinitefunjia.mvp.model.Version; ...@@ -27,11 +27,11 @@ import com.duben.infinitefunjia.mvp.model.Version;
import com.duben.infinitefunjia.net.LoanService; import com.duben.infinitefunjia.net.LoanService;
import com.duben.infinitefunjia.ui.service.UpdateService; import com.duben.infinitefunjia.ui.service.UpdateService;
import com.duben.infinitefunjia.utils.ToastUtil; import com.duben.infinitefunjia.utils.ToastUtil;
import com.mints.library.net.neterror.BaseSubscriber; import com.duben.library.net.neterror.BaseSubscriber;
import com.mints.library.net.neterror.Throwable; import com.duben.library.net.neterror.Throwable;
import com.mints.library.utils.AppUtils; import com.duben.library.utils.AppUtils;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
import com.mints.library.utils.ConstantUtil; import com.duben.library.utils.ConstantUtil;
import java.util.HashMap; import java.util.HashMap;
import java.util.LinkedList; import java.util.LinkedList;
......
...@@ -3,8 +3,8 @@ package com.duben.infinitefunjia.mvp.presenters ...@@ -3,8 +3,8 @@ package com.duben.infinitefunjia.mvp.presenters
import com.duben.infinitefunjia.MintsApplication import com.duben.infinitefunjia.MintsApplication
import com.duben.infinitefunjia.manager.AppHttpManager import com.duben.infinitefunjia.manager.AppHttpManager
import com.duben.infinitefunjia.mvp.views.VipView import com.duben.infinitefunjia.mvp.views.VipView
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.infinitefunjia.common.DeviceInfo import com.duben.infinitefunjia.common.DeviceInfo
import com.duben.infinitefunjia.manager.UserManager import com.duben.infinitefunjia.manager.UserManager
import com.duben.infinitefunjia.mvp.model.* import com.duben.infinitefunjia.mvp.model.*
......
package com.duben.infinitefunjia.mvp.presenters package com.duben.infinitefunjia.mvp.presenters
import com.google.gson.JsonObject import com.google.gson.JsonObject
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.infinitefunjia.manager.AppHttpManager import com.duben.infinitefunjia.manager.AppHttpManager
import com.duben.infinitefunjia.mvp.model.BannerList import com.duben.infinitefunjia.mvp.model.BannerList
import com.duben.infinitefunjia.mvp.model.BaseResponse import com.duben.infinitefunjia.mvp.model.BaseResponse
......
package com.duben.infinitefunjia.net; package com.duben.infinitefunjia.net;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.mints.library.utils.TLog; import com.duben.library.utils.TLog;
import com.duben.infinitefunjia.common.Constant; import com.duben.infinitefunjia.common.Constant;
import com.duben.infinitefunjia.manager.UserManager; import com.duben.infinitefunjia.manager.UserManager;
import com.duben.infinitefunjia.mvp.model.BaseResponse; import com.duben.infinitefunjia.mvp.model.BaseResponse;
......
...@@ -7,7 +7,7 @@ import com.google.gson.Gson; ...@@ -7,7 +7,7 @@ import com.google.gson.Gson;
import com.duben.infinitefunjia.BuildConfig; import com.duben.infinitefunjia.BuildConfig;
import com.duben.infinitefunjia.utils.MateUtils; import com.duben.infinitefunjia.utils.MateUtils;
import com.duben.infinitefunjia.utils.rxutil.CommonUtils; import com.duben.infinitefunjia.utils.rxutil.CommonUtils;
import com.mints.library.utils.ConstantUtil; import com.duben.library.utils.ConstantUtil;
import com.duben.infinitefunjia.MintsApplication; import com.duben.infinitefunjia.MintsApplication;
import com.duben.infinitefunjia.common.Constant; import com.duben.infinitefunjia.common.Constant;
import com.duben.infinitefunjia.common.DeviceInfo; import com.duben.infinitefunjia.common.DeviceInfo;
......
...@@ -9,8 +9,8 @@ import com.duben.infinitefunjia.mvp.model.BookChapterBean; ...@@ -9,8 +9,8 @@ import com.duben.infinitefunjia.mvp.model.BookChapterBean;
import com.duben.infinitefunjia.mvp.model.BookContentBean; import com.duben.infinitefunjia.mvp.model.BookContentBean;
import com.duben.infinitefunjia.read.models.BookModel; import com.duben.infinitefunjia.read.models.BookModel;
import com.duben.infinitefunjia.read.models.TxtChapterModel; import com.duben.infinitefunjia.read.models.TxtChapterModel;
import com.mints.library.net.neterror.BaseSubscriber; import com.duben.library.net.neterror.BaseSubscriber;
import com.mints.library.net.neterror.Throwable; import com.duben.library.net.neterror.Throwable;
import org.reactivestreams.Subscriber; import org.reactivestreams.Subscriber;
import org.reactivestreams.Subscription; import org.reactivestreams.Subscription;
......
...@@ -13,7 +13,7 @@ import com.duben.infinitefunjia.read.models.BookModel; ...@@ -13,7 +13,7 @@ import com.duben.infinitefunjia.read.models.BookModel;
import com.duben.infinitefunjia.read.models.TxtChapterModel; import com.duben.infinitefunjia.read.models.TxtChapterModel;
import com.duben.infinitefunjia.read.models.TxtPageModel; import com.duben.infinitefunjia.read.models.TxtPageModel;
import com.duben.infinitefunjia.utils.StringUtils; import com.duben.infinitefunjia.utils.StringUtils;
import com.mints.library.utils.Utils; import com.duben.library.utils.Utils;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
......
...@@ -11,7 +11,7 @@ import com.duben.infinitefunjia.common.Constant ...@@ -11,7 +11,7 @@ import com.duben.infinitefunjia.common.Constant
import com.duben.infinitefunjia.ui.activitys.base.BaseActivity import com.duben.infinitefunjia.ui.activitys.base.BaseActivity
import com.duben.infinitefunjia.utils.MateUtils import com.duben.infinitefunjia.utils.MateUtils
import com.duben.infinitefunjia.utils.ToastUtil import com.duben.infinitefunjia.utils.ToastUtil
import com.mints.library.utils.ConstantUtil import com.duben.library.utils.ConstantUtil
import kotlinx.android.synthetic.main.activity_aboutus.* import kotlinx.android.synthetic.main.activity_aboutus.*
import kotlinx.android.synthetic.main.header_layout.* import kotlinx.android.synthetic.main.header_layout.*
......
...@@ -14,7 +14,7 @@ import com.duben.infinitefunjia.mvp.views.BookReadView ...@@ -14,7 +14,7 @@ import com.duben.infinitefunjia.mvp.views.BookReadView
import com.duben.infinitefunjia.ui.activitys.base.BaseActivity import com.duben.infinitefunjia.ui.activitys.base.BaseActivity
import com.duben.infinitefunjia.ui.widgets.BookSettingDialog import com.duben.infinitefunjia.ui.widgets.BookSettingDialog
import com.duben.infinitefunjia.utils.AppPreferencesManager import com.duben.infinitefunjia.utils.AppPreferencesManager
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
import kotlinx.android.synthetic.main.activity_book_read.* import kotlinx.android.synthetic.main.activity_book_read.*
import kotlinx.android.synthetic.main.header_layout.* import kotlinx.android.synthetic.main.header_layout.*
import net.nightwhistler.htmlspanner.HtmlSpanner import net.nightwhistler.htmlspanner.HtmlSpanner
......
package com.duben.infinitefunjia.ui.activitys package com.duben.infinitefunjia.ui.activitys
import android.view.View import android.view.View
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.manager.AppHttpManager import com.duben.infinitefunjia.manager.AppHttpManager
import com.duben.infinitefunjia.mvp.model.BaseResponse import com.duben.infinitefunjia.mvp.model.BaseResponse
......
...@@ -15,9 +15,9 @@ import com.duben.infinitefunjia.ui.activitys.base.BaseActivity ...@@ -15,9 +15,9 @@ import com.duben.infinitefunjia.ui.activitys.base.BaseActivity
import com.duben.infinitefunjia.ui.widgets.CancelOrderDialog import com.duben.infinitefunjia.ui.widgets.CancelOrderDialog
import com.duben.infinitefunjia.ui.widgets.DialogListener import com.duben.infinitefunjia.ui.widgets.DialogListener
import com.duben.infinitefunjia.utils.ToastUtil import com.duben.infinitefunjia.utils.ToastUtil
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import kotlinx.android.synthetic.main.activity_manage_order.* import kotlinx.android.synthetic.main.activity_manage_order.*
import kotlinx.android.synthetic.main.header_layout.* import kotlinx.android.synthetic.main.header_layout.*
......
...@@ -12,7 +12,7 @@ import android.view.View ...@@ -12,7 +12,7 @@ import android.view.View
import androidx.core.content.ContextCompat import androidx.core.content.ContextCompat
import com.daimajia.androidanimations.library.Techniques import com.daimajia.androidanimations.library.Techniques
import com.daimajia.androidanimations.library.YoYo import com.daimajia.androidanimations.library.YoYo
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.common.Constant import com.duben.infinitefunjia.common.Constant
import com.duben.infinitefunjia.manager.ActivityPageManager import com.duben.infinitefunjia.manager.ActivityPageManager
......
...@@ -10,8 +10,8 @@ import com.duben.infinitefunjia.ui.activitys.base.BaseActivity ...@@ -10,8 +10,8 @@ import com.duben.infinitefunjia.ui.activitys.base.BaseActivity
import com.duben.infinitefunjia.ui.adapter.OrderRecordAdapter import com.duben.infinitefunjia.ui.adapter.OrderRecordAdapter
import com.duben.infinitefunjia.ui.adapter.base.OnItemClickListener import com.duben.infinitefunjia.ui.adapter.base.OnItemClickListener
import com.duben.infinitefunjia.utils.UcropUtils import com.duben.infinitefunjia.utils.UcropUtils
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.scwang.smartrefresh.layout.api.RefreshLayout import com.scwang.smartrefresh.layout.api.RefreshLayout
import com.scwang.smartrefresh.layout.listener.OnRefreshListener import com.scwang.smartrefresh.layout.listener.OnRefreshListener
import kotlinx.android.synthetic.main.activity_order_record.* import kotlinx.android.synthetic.main.activity_order_record.*
......
...@@ -24,8 +24,8 @@ import com.duben.infinitefunjia.ui.widgets.CustomDialogAsApple ...@@ -24,8 +24,8 @@ import com.duben.infinitefunjia.ui.widgets.CustomDialogAsApple
import com.duben.infinitefunjia.ui.widgets.DialogListener import com.duben.infinitefunjia.ui.widgets.DialogListener
import com.duben.infinitefunjia.ui.widgets.DialogUtils import com.duben.infinitefunjia.ui.widgets.DialogUtils
import com.duben.infinitefunjia.utils.* import com.duben.infinitefunjia.utils.*
import com.mints.library.utils.json.JsonUtil import com.duben.library.utils.json.JsonUtil
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import kotlinx.android.synthetic.main.activity_settings.* import kotlinx.android.synthetic.main.activity_settings.*
import kotlinx.android.synthetic.main.header_layout.* import kotlinx.android.synthetic.main.header_layout.*
import java.util.* import java.util.*
......
...@@ -15,8 +15,8 @@ import androidx.recyclerview.widget.GridLayoutManager ...@@ -15,8 +15,8 @@ import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.LinearLayoutManager
import com.daimajia.androidanimations.library.Techniques import com.daimajia.androidanimations.library.Techniques
import com.daimajia.androidanimations.library.YoYo import com.daimajia.androidanimations.library.YoYo
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import com.duben.infinitefunjia.BuildConfig import com.duben.infinitefunjia.BuildConfig
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.common.AppConfig import com.duben.infinitefunjia.common.AppConfig
......
...@@ -24,8 +24,8 @@ import com.duben.infinitefunjia.ui.activitys.base.BaseActivity ...@@ -24,8 +24,8 @@ import com.duben.infinitefunjia.ui.activitys.base.BaseActivity
import com.duben.infinitefunjia.utils.CommonUtils import com.duben.infinitefunjia.utils.CommonUtils
import com.duben.infinitefunjia.utils.SpanUtils import com.duben.infinitefunjia.utils.SpanUtils
import com.duben.infinitefunjia.utils.ToastUtil import com.duben.infinitefunjia.utils.ToastUtil
import com.mints.library.utils.json.JsonUtil import com.duben.library.utils.json.JsonUtil
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import kotlinx.android.synthetic.main.activity_wx_login.* import kotlinx.android.synthetic.main.activity_wx_login.*
......
...@@ -25,8 +25,8 @@ import com.duben.infinitefunjia.mvp.views.BaseView; ...@@ -25,8 +25,8 @@ import com.duben.infinitefunjia.mvp.views.BaseView;
import com.duben.infinitefunjia.ui.widgets.LoadingDialog; import com.duben.infinitefunjia.ui.widgets.LoadingDialog;
import com.duben.infinitefunjia.utils.StatusBarUtil; import com.duben.infinitefunjia.utils.StatusBarUtil;
import com.duben.infinitefunjia.utils.ToastUtil; import com.duben.infinitefunjia.utils.ToastUtil;
import com.mints.library.base.BaseAppCompatActivity; import com.duben.library.base.BaseAppCompatActivity;
import com.mints.library.net.netstatus.NetUtils; import com.duben.library.net.netstatus.NetUtils;
public abstract class BaseActivity extends BaseAppCompatActivity implements BaseView { public abstract class BaseActivity extends BaseAppCompatActivity implements BaseView {
......
...@@ -15,7 +15,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder ...@@ -15,7 +15,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.mvp.model.BookBean import com.duben.infinitefunjia.mvp.model.BookBean
import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
/** /**
* @author Assen * @author Assen
......
...@@ -13,7 +13,7 @@ import com.duben.infinitefunjia.R ...@@ -13,7 +13,7 @@ import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.mvp.model.BookBean import com.duben.infinitefunjia.mvp.model.BookBean
import com.duben.infinitefunjia.ui.adapter.base.OnItemClickListener import com.duben.infinitefunjia.ui.adapter.base.OnItemClickListener
import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
class CountAdapter : class CountAdapter :
BaseQuickAdapter<BookBean, BaseViewHolder>(R.layout.item_list_count) { BaseQuickAdapter<BookBean, BaseViewHolder>(R.layout.item_list_count) {
......
...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder ...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.mvp.model.BookBean import com.duben.infinitefunjia.mvp.model.BookBean
import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
class HotBookAdapter(var activity: Activity) : class HotBookAdapter(var activity: Activity) :
......
...@@ -6,7 +6,7 @@ import android.view.ViewGroup; ...@@ -6,7 +6,7 @@ import android.view.ViewGroup;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import com.duben.infinitefunjia.mvp.model.BookBean; import com.duben.infinitefunjia.mvp.model.BookBean;
import com.mints.library.utils.GlideUtils; import com.duben.library.utils.GlideUtils;
import com.youth.banner.adapter.BannerAdapter; import com.youth.banner.adapter.BannerAdapter;
import java.util.List; import java.util.List;
......
...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder ...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.mvp.model.BookBean import com.duben.infinitefunjia.mvp.model.BookBean
import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
class LikeBookAdapter(var activity: Activity) : class LikeBookAdapter(var activity: Activity) :
BaseQuickAdapter<BookBean, BaseViewHolder>(R.layout.item_booklike) { BaseQuickAdapter<BookBean, BaseViewHolder>(R.layout.item_booklike) {
......
...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder ...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.mvp.model.BookBean import com.duben.infinitefunjia.mvp.model.BookBean
import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
class NewBookAdapter(var activity: Activity) : class NewBookAdapter(var activity: Activity) :
......
...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder ...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.mvp.model.BookBean import com.duben.infinitefunjia.mvp.model.BookBean
import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
class SearchBookAdapter(var activity: Activity) : class SearchBookAdapter(var activity: Activity) :
......
...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder ...@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.mvp.model.BookBean import com.duben.infinitefunjia.mvp.model.BookBean
import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
class SearchHotBookAdapter(var activity: Activity) : class SearchHotBookAdapter(var activity: Activity) :
......
...@@ -7,7 +7,7 @@ import android.view.ViewGroup; ...@@ -7,7 +7,7 @@ import android.view.ViewGroup;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import com.duben.infinitefunjia.mvp.model.BookBean; import com.duben.infinitefunjia.mvp.model.BookBean;
import com.duben.infinitefunjia.mvp.model.VedioBean; import com.duben.infinitefunjia.mvp.model.VedioBean;
import com.mints.library.utils.GlideUtils; import com.duben.library.utils.GlideUtils;
import com.youth.banner.adapter.BannerAdapter; import com.youth.banner.adapter.BannerAdapter;
import java.util.List; import java.util.List;
......
...@@ -27,8 +27,8 @@ import com.duben.infinitefunjia.ui.adapter.ImageTitleAdapter ...@@ -27,8 +27,8 @@ import com.duben.infinitefunjia.ui.adapter.ImageTitleAdapter
import com.duben.infinitefunjia.ui.fragment.base.LazyLoadBaseFragment import com.duben.infinitefunjia.ui.fragment.base.LazyLoadBaseFragment
import com.duben.infinitefunjia.utils.GridSpacingItemDecoration import com.duben.infinitefunjia.utils.GridSpacingItemDecoration
import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan import com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import com.mints.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import kotlinx.android.synthetic.main.fragment_main_bookcity.* import kotlinx.android.synthetic.main.fragment_main_bookcity.*
/** /**
......
...@@ -20,7 +20,7 @@ import com.duben.infinitefunjia.mvp.views.CountView ...@@ -20,7 +20,7 @@ import com.duben.infinitefunjia.mvp.views.CountView
import com.duben.infinitefunjia.ui.adapter.CountAdapter import com.duben.infinitefunjia.ui.adapter.CountAdapter
import com.duben.infinitefunjia.ui.adapter.HomeVideoPageAdapter import com.duben.infinitefunjia.ui.adapter.HomeVideoPageAdapter
import com.duben.infinitefunjia.ui.fragment.base.LazyLoadBaseFragment import com.duben.infinitefunjia.ui.fragment.base.LazyLoadBaseFragment
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import com.scwang.smartrefresh.layout.api.RefreshLayout import com.scwang.smartrefresh.layout.api.RefreshLayout
import com.scwang.smartrefresh.layout.listener.OnLoadMoreListener import com.scwang.smartrefresh.layout.listener.OnLoadMoreListener
import com.scwang.smartrefresh.layout.listener.OnRefreshListener import com.scwang.smartrefresh.layout.listener.OnRefreshListener
......
...@@ -20,9 +20,9 @@ import com.duben.infinitefunjia.ui.fragment.base.LazyLoadBaseFragment ...@@ -20,9 +20,9 @@ import com.duben.infinitefunjia.ui.fragment.base.LazyLoadBaseFragment
import com.duben.infinitefunjia.ui.widgets.DialogListener import com.duben.infinitefunjia.ui.widgets.DialogListener
import com.duben.infinitefunjia.ui.widgets.PhoneDialog import com.duben.infinitefunjia.ui.widgets.PhoneDialog
import com.duben.infinitefunjia.utils.TimeRender import com.duben.infinitefunjia.utils.TimeRender
import com.mints.library.net.neterror.BaseSubscriber import com.duben.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import kotlinx.android.synthetic.main.fragment_main_my.* import kotlinx.android.synthetic.main.fragment_main_my.*
/** /**
......
...@@ -16,7 +16,7 @@ import com.duben.infinitefunjia.R; ...@@ -16,7 +16,7 @@ import com.duben.infinitefunjia.R;
import com.duben.infinitefunjia.common.AppConfig; import com.duben.infinitefunjia.common.AppConfig;
import com.duben.infinitefunjia.ui.widgets.LoadingDialog; import com.duben.infinitefunjia.ui.widgets.LoadingDialog;
import com.duben.infinitefunjia.utils.ToastUtil; import com.duben.infinitefunjia.utils.ToastUtil;
import com.mints.library.base.BaseAppFragment; import com.duben.library.base.BaseAppFragment;
/** /**
......
...@@ -13,8 +13,8 @@ import com.downloader.Progress ...@@ -13,8 +13,8 @@ import com.downloader.Progress
import com.duben.infinitefunjia.MintsApplication import com.duben.infinitefunjia.MintsApplication
import com.duben.infinitefunjia.R import com.duben.infinitefunjia.R
import com.duben.infinitefunjia.utils.CacheUtil import com.duben.infinitefunjia.utils.CacheUtil
import com.mints.library.utils.Utils import com.duben.library.utils.Utils
import com.mints.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
/** /**
* 下载进度弹窗 * 下载进度弹窗
......
package com.duben.infinitefunjia.utils; package com.duben.infinitefunjia.utils;
import com.mints.library.utils.TLog; import com.duben.library.utils.TLog;
import com.duben.infinitefunjia.common.Constant; import com.duben.infinitefunjia.common.Constant;
import com.duben.infinitefunjia.BuildConfig; import com.duben.infinitefunjia.BuildConfig;
......
package com.mints.library.base; package com.duben.library.base;
import android.app.Activity; import android.app.Activity;
import android.app.AlertDialog; import android.app.AlertDialog;
...@@ -20,11 +20,11 @@ import android.view.Window; ...@@ -20,11 +20,11 @@ import android.view.Window;
import android.view.WindowManager; import android.view.WindowManager;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import com.mints.library.loading.VaryViewHelperController; import com.duben.library.loading.VaryViewHelperController;
import com.mints.library.net.netstatus.NetChangeObserver; import com.duben.library.net.netstatus.NetChangeObserver;
import com.mints.library.net.netstatus.NetStateReceiver; import com.duben.library.net.netstatus.NetStateReceiver;
import com.mints.library.net.netstatus.NetUtils; import com.duben.library.net.netstatus.NetUtils;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
import com.readystatesoftware.systembartint.SystemBarTintManager; import com.readystatesoftware.systembartint.SystemBarTintManager;
......
package com.mints.library.base; package com.duben.library.base;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
...@@ -16,8 +16,8 @@ import android.view.ViewGroup; ...@@ -16,8 +16,8 @@ import android.view.ViewGroup;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import com.duben.infinitefunjia.common.AppConfig; import com.duben.infinitefunjia.common.AppConfig;
import com.mints.library.loading.VaryViewHelperController; import com.duben.library.loading.VaryViewHelperController;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
package com.mints.library.base; package com.duben.library.base;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
...@@ -13,11 +13,11 @@ import android.view.View; ...@@ -13,11 +13,11 @@ import android.view.View;
import android.view.Window; import android.view.Window;
import android.view.WindowManager; import android.view.WindowManager;
import com.mints.library.loading.VaryViewHelperController; import com.duben.library.loading.VaryViewHelperController;
import com.mints.library.net.netstatus.NetChangeObserver; import com.duben.library.net.netstatus.NetChangeObserver;
import com.mints.library.net.netstatus.NetStateReceiver; import com.duben.library.net.netstatus.NetStateReceiver;
import com.mints.library.net.netstatus.NetUtils; import com.duben.library.net.netstatus.NetUtils;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import com.readystatesoftware.systembartint.SystemBarTintManager; import com.readystatesoftware.systembartint.SystemBarTintManager;
......
package com.mints.library.base; package com.duben.library.base;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
...@@ -15,8 +15,8 @@ import android.view.ViewGroup; ...@@ -15,8 +15,8 @@ import android.view.ViewGroup;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import com.mints.library.loading.VaryViewHelperController; import com.duben.library.loading.VaryViewHelperController;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
package com.mints.library.base; package com.duben.library.base;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
...@@ -13,8 +13,8 @@ import android.view.View; ...@@ -13,8 +13,8 @@ import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.Toast; import android.widget.Toast;
import com.mints.library.loading.VaryViewHelperController; import com.duben.library.loading.VaryViewHelperController;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
package com.mints.library.base; package com.duben.library.base;
import android.os.Bundle; import android.os.Bundle;
import android.view.View; import android.view.View;
import com.mints.library.swipeback.SwipeBackActivityBase; import com.duben.library.swipeback.SwipeBackActivityBase;
import com.mints.library.swipeback.SwipeBackActivityHelper; import com.duben.library.swipeback.SwipeBackActivityHelper;
import com.mints.library.swipeback.SwipeBackLayout; import com.duben.library.swipeback.SwipeBackLayout;
import com.mints.library.swipeback.Utils; import com.duben.library.swipeback.Utils;
/** /**
* 描述:BaseSwipeBackCompatActivity * 描述:BaseSwipeBackCompatActivity
......
package com.mints.library.base; package com.duben.library.base;
import android.os.Bundle; import android.os.Bundle;
import android.view.View; import android.view.View;
import com.mints.library.swipeback.SwipeBackActivityBase; import com.duben.library.swipeback.SwipeBackActivityBase;
import com.mints.library.swipeback.SwipeBackActivityHelper; import com.duben.library.swipeback.SwipeBackActivityHelper;
import com.mints.library.swipeback.SwipeBackLayout; import com.duben.library.swipeback.SwipeBackLayout;
import com.mints.library.swipeback.Utils; import com.duben.library.swipeback.Utils;
/** /**
* 描述:BaseSwipeBackFragmentActivity * 描述:BaseSwipeBackFragmentActivity
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.base; package com.duben.library.base;
import android.os.Bundle; import android.os.Bundle;
import androidx.core.content.ContextCompat; import androidx.core.content.ContextCompat;
...@@ -24,9 +24,9 @@ import android.widget.TextView; ...@@ -24,9 +24,9 @@ import android.widget.TextView;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import com.mints.library.net.netstatus.NetUtils; import com.duben.library.net.netstatus.NetUtils;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
import com.mints.library.widgets.BrowserLayout; import com.duben.library.widgets.BrowserLayout;
/** /**
......
package com.mints.library.base; package com.duben.library.base;
import android.content.Intent; import android.content.Intent;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
......
package com.mints.library.base; package com.duben.library.base;
import android.content.Intent; import android.content.Intent;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.loading; package com.duben.library.loading;
import android.content.Context; import android.content.Context;
import android.view.View; import android.view.View;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.loading; package com.duben.library.loading;
import android.content.Context; import android.content.Context;
import android.view.LayoutInflater; import android.view.LayoutInflater;
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.loading; package com.duben.library.loading;
import android.view.View; import android.view.View;
import android.widget.ImageView; import android.widget.ImageView;
import android.widget.TextView; import android.widget.TextView;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.loading; package com.duben.library.loading;
import android.content.Context; import android.content.Context;
import android.view.View; import android.view.View;
......
package com.mints.library.net; package com.duben.library.net;
import retrofit2.adapter.rxjava.HttpException; import retrofit2.adapter.rxjava.HttpException;
......
package com.mints.library.net; package com.duben.library.net;
import java.io.IOException; import java.io.IOException;
......
package com.mints.library.net.neterror; package com.duben.library.net.neterror;
import rx.Subscriber; import rx.Subscriber;
......
package com.mints.library.net.neterror; package com.duben.library.net.neterror;
import android.net.ParseException; import android.net.ParseException;
......
package com.mints.library.net.neterror; package com.duben.library.net.neterror;
/** /**
* 描述:FormatException * 描述:FormatException
......
package com.mints.library.net.neterror; package com.duben.library.net.neterror;
import rx.Observable; import rx.Observable;
import rx.functions.Func1; import rx.functions.Func1;
......
package com.mints.library.net.neterror; package com.duben.library.net.neterror;
/** /**
* 描述:ServerException * 描述:ServerException
......
package com.mints.library.net.neterror; package com.duben.library.net.neterror;
/** /**
* 描述:Throwable * 描述:Throwable
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.net.netstatus; package com.duben.library.net.netstatus;
/** /**
* 描述:NetChangeObserver * 描述:NetChangeObserver
......
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.net.netstatus; package com.duben.library.net.netstatus;
import android.content.BroadcastReceiver; import android.content.BroadcastReceiver;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.content.IntentFilter; import android.content.IntentFilter;
import com.mints.library.utils.TLog; import com.duben.library.utils.TLog;
import java.util.ArrayList; import java.util.ArrayList;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.net.netstatus; package com.duben.library.net.netstatus;
import android.content.Context; import android.content.Context;
import android.net.ConnectivityManager; import android.net.ConnectivityManager;
......
package com.mints.library.recyclerview; package com.duben.library.recyclerview;
import android.view.View; import android.view.View;
......
package com.mints.library.recyclerview; package com.duben.library.recyclerview;
import android.view.View; import android.view.View;
......
package com.mints.library.recyclerview; package com.duben.library.recyclerview;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
......
package com.mints.library.recyclerview; package com.duben.library.recyclerview;
import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.GridLayoutManager;
......
package com.mints.library.recyclerview; package com.duben.library.recyclerview;
import android.content.Context; import android.content.Context;
import android.content.res.TypedArray; import android.content.res.TypedArray;
......
package com.mints.library.recyclerview; package com.duben.library.recyclerview;
import android.view.View; import android.view.View;
......
package com.mints.library.recyclerview; package com.duben.library.recyclerview;
import android.view.View; import android.view.View;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.swipeback; package com.duben.library.swipeback;
/** /**
* @author Yrom * @author Yrom
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.swipeback; package com.duben.library.swipeback;
import android.app.Activity; import android.app.Activity;
import android.graphics.Color; import android.graphics.Color;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.swipeback; package com.duben.library.swipeback;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.swipeback; package com.duben.library.swipeback;
import android.app.Activity; import android.app.Activity;
import android.app.ActivityOptions; import android.app.ActivityOptions;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.swipeback; package com.duben.library.swipeback;
import android.content.Context; import android.content.Context;
import androidx.core.view.MotionEventCompat; import androidx.core.view.MotionEventCompat;
......
package com.mints.library.utils; package com.duben.library.utils;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
......
package com.mints.library.utils; package com.duben.library.utils;
import android.app.ActivityManager; import android.app.ActivityManager;
import android.content.Context; import android.content.Context;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.utils; package com.duben.library.utils;
import android.content.Context; import android.content.Context;
import android.content.pm.ApplicationInfo; import android.content.pm.ApplicationInfo;
......
package com.mints.library.utils; package com.duben.library.utils;
import android.content.ComponentName; import android.content.ComponentName;
import android.content.Context; import android.content.Context;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.utils; package com.duben.library.utils;
import android.content.Context; import android.content.Context;
import android.content.res.Configuration; import android.content.res.Configuration;
......
package com.mints.library.utils package com.duben.library.utils
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.content.Context import android.content.Context
......
package com.mints.library.utils; package com.duben.library.utils;
import android.app.Application; import android.app.Application;
import android.content.Context; import android.content.Context;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.utils; package com.duben.library.utils;
import android.app.ActionBar; import android.app.ActionBar;
import android.content.Context; import android.content.Context;
......
package com.mints.library.utils; package com.duben.library.utils;
import android.app.Activity; import android.app.Activity;
import android.app.PendingIntent; import android.app.PendingIntent;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.utils; package com.duben.library.utils;
import android.util.Log; import android.util.Log;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.utils; package com.duben.library.utils;
import android.accessibilityservice.AccessibilityServiceInfo; import android.accessibilityservice.AccessibilityServiceInfo;
import android.app.Activity; import android.app.Activity;
......
package com.mints.library.utils.json; package com.duben.library.utils.json;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
......
package com.mints.library.utils.json; package com.duben.library.utils.json;
import com.google.gson.ExclusionStrategy; import com.google.gson.ExclusionStrategy;
......
package com.mints.library.utils.json; package com.duben.library.utils.json;
import android.util.Log; import android.util.Log;
......
package com.mints.library.utils.nodoubleclick; package com.duben.library.utils.nodoubleclick;
public class AntiShake { public class AntiShake {
private static LimitQueue<OneClick> queue = new LimitQueue<>(20); private static LimitQueue<OneClick> queue = new LimitQueue<>(20);
......
package com.mints.library.utils.nodoubleclick; package com.duben.library.utils.nodoubleclick;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.LinkedList; import java.util.LinkedList;
......
package com.mints.library.utils.nodoubleclick; package com.duben.library.utils.nodoubleclick;
import android.view.View; import android.view.View;
......
package com.mints.library.utils.nodoubleclick; package com.duben.library.utils.nodoubleclick;
import java.util.Calendar; import java.util.Calendar;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.mints.library.widgets; package com.duben.library.widgets;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
...@@ -35,7 +35,7 @@ import android.widget.ProgressBar; ...@@ -35,7 +35,7 @@ import android.widget.ProgressBar;
import android.widget.TextView; import android.widget.TextView;
import com.duben.infinitefunjia.R; import com.duben.infinitefunjia.R;
import com.mints.library.utils.CommonUtils; import com.duben.library.utils.CommonUtils;
/** /**
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<include layout="@layout/title_bar_" /> <include layout="@layout/title_bar_" />
<com.mints.library.widgets.BrowserLayout <com.duben.library.widgets.BrowserLayout
android:id="@+id/common_web_browser_layout" android:id="@+id/common_web_browser_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
android:max="100" android:max="100"
android:progressDrawable="@drawable/progress_bar_horizontal" /> android:progressDrawable="@drawable/progress_bar_horizontal" />
<com.mints.library.widgets.BrowserLayout <com.duben.library.widgets.BrowserLayout
android:id="@+id/browser_layout" android:id="@+id/browser_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
~ limitations under the License. ~ limitations under the License.
--> -->
<com.mints.library.swipeback.SwipeBackLayout xmlns:android="http://schemas.android.com/apk/res/android" <com.duben.library.swipeback.SwipeBackLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment