Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_book
Commits
86e8ec62
Commit
86e8ec62
authored
Sep 26, 2024
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
abb61af2
Changes
103
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
103 changed files
with
162 additions
and
162 deletions
+162
-162
DeviceInfo.kt
...c/main/java/com/duben/infinitefunjia/common/DeviceInfo.kt
+1
-1
AppHttpManager.java
...java/com/duben/infinitefunjia/manager/AppHttpManager.java
+1
-1
BookCityPresenter.kt
.../duben/infinitefunjia/mvp/presenters/BookCityPresenter.kt
+2
-2
BookReadPresenter.kt
.../duben/infinitefunjia/mvp/presenters/BookReadPresenter.kt
+2
-2
BookSearchPresenter.kt
...uben/infinitefunjia/mvp/presenters/BookSearchPresenter.kt
+2
-2
BookShelfPresenter.kt
...duben/infinitefunjia/mvp/presenters/BookShelfPresenter.kt
+2
-2
CountPresenter.kt
...com/duben/infinitefunjia/mvp/presenters/CountPresenter.kt
+2
-2
GuidePresenter.kt
...com/duben/infinitefunjia/mvp/presenters/GuidePresenter.kt
+2
-2
LoginPresenter.kt
...com/duben/infinitefunjia/mvp/presenters/LoginPresenter.kt
+2
-2
MyPresenter.kt
...va/com/duben/infinitefunjia/mvp/presenters/MyPresenter.kt
+2
-2
PicContentPresenter.kt
...uben/infinitefunjia/mvp/presenters/PicContentPresenter.kt
+2
-2
TrackPresenter.java
...m/duben/infinitefunjia/mvp/presenters/TrackPresenter.java
+2
-2
VersionUpdatePresenter.java
...infinitefunjia/mvp/presenters/VersionUpdatePresenter.java
+5
-5
VipPresenter.kt
...a/com/duben/infinitefunjia/mvp/presenters/VipPresenter.kt
+2
-2
WatchRecordPresenter.kt
...ben/infinitefunjia/mvp/presenters/WatchRecordPresenter.kt
+2
-2
GsonConverterFactory.java
...va/com/duben/infinitefunjia/net/GsonConverterFactory.java
+1
-1
OkHttpInterceptor.java
.../java/com/duben/infinitefunjia/net/OkHttpInterceptor.java
+1
-1
NetworkPageLoader.java
...java/com/duben/infinitefunjia/read/NetworkPageLoader.java
+2
-2
PageLoader.java
...c/main/java/com/duben/infinitefunjia/read/PageLoader.java
+1
-1
AboutusActivity.kt
.../com/duben/infinitefunjia/ui/activitys/AboutusActivity.kt
+1
-1
BookReadActivity.kt
...com/duben/infinitefunjia/ui/activitys/BookReadActivity.kt
+1
-1
HistoryActivity.kt
.../com/duben/infinitefunjia/ui/activitys/HistoryActivity.kt
+2
-2
ManageOrderActivity.kt
.../duben/infinitefunjia/ui/activitys/ManageOrderActivity.kt
+3
-3
MobileLoginActivity.kt
.../duben/infinitefunjia/ui/activitys/MobileLoginActivity.kt
+1
-1
OrderRecordActivity.kt
.../duben/infinitefunjia/ui/activitys/OrderRecordActivity.kt
+2
-2
SettingsActivity.kt
...com/duben/infinitefunjia/ui/activitys/SettingsActivity.kt
+2
-2
VipActivity.kt
...java/com/duben/infinitefunjia/ui/activitys/VipActivity.kt
+2
-2
WxLoginActivity.kt
.../com/duben/infinitefunjia/ui/activitys/WxLoginActivity.kt
+2
-2
BaseActivity.java
.../duben/infinitefunjia/ui/activitys/base/BaseActivity.java
+2
-2
BookShelfAdapter.kt
...a/com/duben/infinitefunjia/ui/adapter/BookShelfAdapter.kt
+1
-1
CountAdapter.kt
.../java/com/duben/infinitefunjia/ui/adapter/CountAdapter.kt
+1
-1
HotBookAdapter.kt
...ava/com/duben/infinitefunjia/ui/adapter/HotBookAdapter.kt
+1
-1
ImageTitleAdapter.java
...om/duben/infinitefunjia/ui/adapter/ImageTitleAdapter.java
+1
-1
LikeBookAdapter.kt
...va/com/duben/infinitefunjia/ui/adapter/LikeBookAdapter.kt
+1
-1
NewBookAdapter.kt
...ava/com/duben/infinitefunjia/ui/adapter/NewBookAdapter.kt
+1
-1
SearchBookAdapter.kt
.../com/duben/infinitefunjia/ui/adapter/SearchBookAdapter.kt
+1
-1
SearchHotBookAdapter.kt
...m/duben/infinitefunjia/ui/adapter/SearchHotBookAdapter.kt
+1
-1
VipBannerAdapter.java
...com/duben/infinitefunjia/ui/adapter/VipBannerAdapter.java
+1
-1
BookCityFragment.kt
.../com/duben/infinitefunjia/ui/fragment/BookCityFragment.kt
+2
-2
CountFragment.kt
...ava/com/duben/infinitefunjia/ui/fragment/CountFragment.kt
+1
-1
MyFragment.kt
...n/java/com/duben/infinitefunjia/ui/fragment/MyFragment.kt
+3
-3
BaseFragment.java
...m/duben/infinitefunjia/ui/fragment/base/BaseFragment.java
+1
-1
DownloadProgressDialog.kt
...duben/infinitefunjia/ui/widgets/DownloadProgressDialog.kt
+2
-2
AESUtils.java
...rc/main/java/com/duben/infinitefunjia/utils/AESUtils.java
+1
-1
BaseAppCompatActivity.java
...in/java/com/duben/library/base/BaseAppCompatActivity.java
+6
-6
BaseAppFragment.java
...src/main/java/com/duben/library/base/BaseAppFragment.java
+3
-3
BaseFragmentActivity.java
...ain/java/com/duben/library/base/BaseFragmentActivity.java
+6
-6
BaseLazyFragment.java
...rc/main/java/com/duben/library/base/BaseLazyFragment.java
+3
-3
BaseLazyViewFragment.java
...ain/java/com/duben/library/base/BaseLazyViewFragment.java
+3
-3
BaseSwipeBackCompatActivity.java
...a/com/duben/library/base/BaseSwipeBackCompatActivity.java
+5
-5
BaseSwipeBackFragmentActivity.java
...com/duben/library/base/BaseSwipeBackFragmentActivity.java
+5
-5
BaseWebActivity.java
...src/main/java/com/duben/library/base/BaseWebActivity.java
+4
-4
TransitionActivity.java
.../main/java/com/duben/library/base/TransitionActivity.java
+1
-1
TransitionFragment.java
.../main/java/com/duben/library/base/TransitionFragment.java
+1
-1
IVaryViewHelper.java
.../main/java/com/duben/library/loading/IVaryViewHelper.java
+1
-1
VaryViewHelper.java
...c/main/java/com/duben/library/loading/VaryViewHelper.java
+1
-1
VaryViewHelperController.java
...a/com/duben/library/loading/VaryViewHelperController.java
+2
-2
VaryViewHelperX.java
.../main/java/com/duben/library/loading/VaryViewHelperX.java
+1
-1
NetCommon.java
book/app/src/main/java/com/duben/library/net/NetCommon.java
+1
-1
OkHttpProgress.java
...p/src/main/java/com/duben/library/net/OkHttpProgress.java
+1
-1
BaseSubscriber.java
...n/java/com/duben/library/net/neterror/BaseSubscriber.java
+1
-1
CashException.java
...in/java/com/duben/library/net/neterror/CashException.java
+1
-1
FormatException.java
.../java/com/duben/library/net/neterror/FormatException.java
+1
-1
HttpResponseFunc.java
...java/com/duben/library/net/neterror/HttpResponseFunc.java
+1
-1
ServerException.java
.../java/com/duben/library/net/neterror/ServerException.java
+1
-1
Throwable.java
...c/main/java/com/duben/library/net/neterror/Throwable.java
+1
-1
NetChangeObserver.java
...va/com/duben/library/net/netstatus/NetChangeObserver.java
+1
-1
NetStateReceiver.java
...ava/com/duben/library/net/netstatus/NetStateReceiver.java
+2
-2
NetUtils.java
...c/main/java/com/duben/library/net/netstatus/NetUtils.java
+1
-1
EndlessRecyclerOnScrollListener.java
...library/recyclerview/EndlessRecyclerOnScrollListener.java
+1
-1
ExStaggeredGridLayoutManager.java
...en/library/recyclerview/ExStaggeredGridLayoutManager.java
+1
-1
HeaderAndFooterRecyclerViewAdapter.java
...rary/recyclerview/HeaderAndFooterRecyclerViewAdapter.java
+1
-1
HeaderSpanSizeLookup.java
.../com/duben/library/recyclerview/HeaderSpanSizeLookup.java
+1
-1
MyDividerItemDecoration.java
...m/duben/library/recyclerview/MyDividerItemDecoration.java
+1
-1
OnListLoadNextPageListener.java
...uben/library/recyclerview/OnListLoadNextPageListener.java
+1
-1
RecyclerViewUtils.java
...ava/com/duben/library/recyclerview/RecyclerViewUtils.java
+1
-1
SwipeBackActivityBase.java
...va/com/duben/library/swipeback/SwipeBackActivityBase.java
+1
-1
SwipeBackActivityHelper.java
.../com/duben/library/swipeback/SwipeBackActivityHelper.java
+1
-1
SwipeBackLayout.java
...ain/java/com/duben/library/swipeback/SwipeBackLayout.java
+1
-1
Utils.java
.../app/src/main/java/com/duben/library/swipeback/Utils.java
+1
-1
ViewDragHelper.java
...main/java/com/duben/library/swipeback/ViewDragHelper.java
+1
-1
AITextUtil.java
...app/src/main/java/com/duben/library/utils/AITextUtil.java
+1
-1
AppUtils.java
book/app/src/main/java/com/duben/library/utils/AppUtils.java
+1
-1
CommonUtils.java
...pp/src/main/java/com/duben/library/utils/CommonUtils.java
+1
-1
ConstantUtil.java
...p/src/main/java/com/duben/library/utils/ConstantUtil.java
+1
-1
DensityUtils.java
...p/src/main/java/com/duben/library/utils/DensityUtils.java
+1
-1
GlideUtils.kt
book/app/src/main/java/com/duben/library/utils/GlideUtils.kt
+1
-1
PhoneParameterUtils.java
...ain/java/com/duben/library/utils/PhoneParameterUtils.java
+1
-1
SmartBarUtils.java
.../src/main/java/com/duben/library/utils/SmartBarUtils.java
+1
-1
SystemUtils.java
...pp/src/main/java/com/duben/library/utils/SystemUtils.java
+1
-1
TLog.java
book/app/src/main/java/com/duben/library/utils/TLog.java
+1
-1
Utils.java
book/app/src/main/java/com/duben/library/utils/Utils.java
+1
-1
FooAnnotation.java
...main/java/com/duben/library/utils/json/FooAnnotation.java
+1
-1
FooAnnotationExclusionStrategy.java
...en/library/utils/json/FooAnnotationExclusionStrategy.java
+1
-1
JsonUtil.java
.../src/main/java/com/duben/library/utils/json/JsonUtil.java
+1
-1
AntiShake.java
...java/com/duben/library/utils/nodoubleclick/AntiShake.java
+1
-1
LimitQueue.java
...ava/com/duben/library/utils/nodoubleclick/LimitQueue.java
+1
-1
NoDoubleClickListener.java
...en/library/utils/nodoubleclick/NoDoubleClickListener.java
+1
-1
OneClick.java
.../java/com/duben/library/utils/nodoubleclick/OneClick.java
+1
-1
BrowserLayout.java
...rc/main/java/com/duben/library/widgets/BrowserLayout.java
+2
-2
activity_common_web.xml
book/app/src/main/res/layout/activity_common_web.xml
+1
-1
activity_web.xml
book/app/src/main/res/layout/activity_web.xml
+1
-1
swipeback_layout.xml
book/app/src/main/res/layout/swipeback_layout.xml
+1
-1
No files found.
book/app/src/main/java/com/duben/infinitefunjia/common/DeviceInfo.kt
View file @
86e8ec62
...
...
@@ -18,7 +18,7 @@ import android.os.SystemClock
import
android.provider.Settings
import
android.telephony.TelephonyManager
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.R
import
com.duben.infinitefunjia.utils.SimUtils
...
...
book/app/src/main/java/com/duben/infinitefunjia/manager/AppHttpManager.java
View file @
86e8ec62
package
com
.
duben
.
infinitefunjia
.
manager
;
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
rx.Observable
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/BookCityPresenter.kt
View file @
86e8ec62
...
...
@@ -2,7 +2,7 @@ package com.duben.infinitefunjia.mvp.presenters
import
com.google.gson.JsonObject
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.UserManager
import
com.duben.infinitefunjia.mvp.model.BaseResponse
...
...
@@ -10,7 +10,7 @@ import com.duben.infinitefunjia.mvp.model.BookListBean
import
com.duben.infinitefunjia.mvp.model.UserBean
import
com.duben.infinitefunjia.mvp.views.BookCityView
import
com.duben.infinitefunjia.utils.DeviceUuidFactory
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.BaseSubscriber
import
java.util.HashMap
class
BookCityPresenter
:
BasePresenter
<
BookCityView
>()
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/BookReadPresenter.kt
View file @
86e8ec62
package
com.duben.infinitefunjia.mvp.presenters
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.mvp.model.BaseResponse
import
com.duben.infinitefunjia.mvp.model.BookContentBean
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
class
BookReadPresenter
:
BasePresenter
<
BookReadView
>()
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/BookSearchPresenter.kt
View file @
86e8ec62
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.mvp.model.BaseResponse
import
com.duben.infinitefunjia.mvp.model.BookListBean
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
class
BookSearchPresenter
:
BasePresenter
<
BookSearchView
>()
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/BookShelfPresenter.kt
View file @
86e8ec62
package
com.duben.infinitefunjia.mvp.presenters
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.mvp.model.BaseResponse
import
com.duben.infinitefunjia.mvp.model.BookListBean
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
class
BookShelfPresenter
:
BasePresenter
<
BookShelfView
>()
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/CountPresenter.kt
View file @
86e8ec62
...
...
@@ -6,8 +6,8 @@ import com.duben.infinitefunjia.manager.UserManager
import
com.duben.infinitefunjia.mvp.model.*
import
com.duben.infinitefunjia.mvp.views.CountView
import
com.duben.infinitefunjia.utils.DeviceUuidFactory
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
class
CountPresenter
:
BasePresenter
<
CountView
>()
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/GuidePresenter.kt
View file @
86e8ec62
...
...
@@ -8,8 +8,8 @@ import com.duben.infinitefunjia.mvp.model.UserBean
import
com.duben.infinitefunjia.mvp.views.GuideView
import
com.duben.infinitefunjia.mvp.views.MyView
import
com.duben.infinitefunjia.utils.DeviceUuidFactory
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
class
GuidePresenter
:
BasePresenter
<
GuideView
>()
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/LoginPresenter.kt
View file @
86e8ec62
...
...
@@ -9,8 +9,8 @@ import com.duben.infinitefunjia.mvp.views.LoginView
import
com.duben.infinitefunjia.utils.DeviceUuidFactory
import
com.duben.infinitefunjia.utils.rxutil.CommonRxTask
import
com.duben.infinitefunjia.utils.rxutil.RxjavaUtil
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
import
java.util.*
class
LoginPresenter
:
BasePresenter
<
LoginView
>()
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/MyPresenter.kt
View file @
86e8ec62
...
...
@@ -7,8 +7,8 @@ import com.duben.infinitefunjia.mvp.model.BaseResponse
import
com.duben.infinitefunjia.mvp.model.UserBean
import
com.duben.infinitefunjia.mvp.views.MyView
import
com.duben.infinitefunjia.utils.DeviceUuidFactory
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
class
MyPresenter
:
BasePresenter
<
MyView
>()
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/PicContentPresenter.kt
View file @
86e8ec62
...
...
@@ -3,8 +3,8 @@ package com.duben.infinitefunjia.mvp.presenters
import
com.duben.infinitefunjia.manager.AppHttpManager
import
com.duben.infinitefunjia.mvp.model.BaseResponse
import
com.duben.infinitefunjia.mvp.views.PicContentView
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
import
com.duben.infinitefunjia.mvp.model.BannerList
import
com.duben.infinitefunjia.mvp.model.BookListBean
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/TrackPresenter.java
View file @
86e8ec62
...
...
@@ -2,8 +2,8 @@ package com.duben.infinitefunjia.mvp.presenters;
import
android.content.Context
;
import
com.
mints
.library.net.neterror.BaseSubscriber
;
import
com.
mints
.library.net.neterror.Throwable
;
import
com.
duben
.library.net.neterror.BaseSubscriber
;
import
com.
duben
.library.net.neterror.Throwable
;
import
com.duben.infinitefunjia.MintsApplication
;
import
com.duben.infinitefunjia.common.DeviceInfo
;
import
com.duben.infinitefunjia.manager.AppHttpManager
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/VersionUpdatePresenter.java
View file @
86e8ec62
...
...
@@ -27,11 +27,11 @@ import com.duben.infinitefunjia.mvp.model.Version;
import
com.duben.infinitefunjia.net.LoanService
;
import
com.duben.infinitefunjia.ui.service.UpdateService
;
import
com.duben.infinitefunjia.utils.ToastUtil
;
import
com.
mints
.library.net.neterror.BaseSubscriber
;
import
com.
mints
.library.net.neterror.Throwable
;
import
com.
mints
.library.utils.AppUtils
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
mints
.library.utils.ConstantUtil
;
import
com.
duben
.library.net.neterror.BaseSubscriber
;
import
com.
duben
.library.net.neterror.Throwable
;
import
com.
duben
.library.utils.AppUtils
;
import
com.
duben
.library.utils.CommonUtils
;
import
com.
duben
.library.utils.ConstantUtil
;
import
java.util.HashMap
;
import
java.util.LinkedList
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/VipPresenter.kt
View file @
86e8ec62
...
...
@@ -3,8 +3,8 @@ package com.duben.infinitefunjia.mvp.presenters
import
com.duben.infinitefunjia.MintsApplication
import
com.duben.infinitefunjia.manager.AppHttpManager
import
com.duben.infinitefunjia.mvp.views.VipView
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
import
com.duben.infinitefunjia.common.DeviceInfo
import
com.duben.infinitefunjia.manager.UserManager
import
com.duben.infinitefunjia.mvp.model.*
...
...
book/app/src/main/java/com/duben/infinitefunjia/mvp/presenters/WatchRecordPresenter.kt
View file @
86e8ec62
package
com.duben.infinitefunjia.mvp.presenters
import
com.google.gson.JsonObject
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
import
com.duben.infinitefunjia.manager.AppHttpManager
import
com.duben.infinitefunjia.mvp.model.BannerList
import
com.duben.infinitefunjia.mvp.model.BaseResponse
...
...
book/app/src/main/java/com/duben/infinitefunjia/net/GsonConverterFactory.java
View file @
86e8ec62
package
com
.
duben
.
infinitefunjia
.
net
;
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.manager.UserManager
;
import
com.duben.infinitefunjia.mvp.model.BaseResponse
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/net/OkHttpInterceptor.java
View file @
86e8ec62
...
...
@@ -7,7 +7,7 @@ import com.google.gson.Gson;
import
com.duben.infinitefunjia.BuildConfig
;
import
com.duben.infinitefunjia.utils.MateUtils
;
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.common.Constant
;
import
com.duben.infinitefunjia.common.DeviceInfo
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/read/NetworkPageLoader.java
View file @
86e8ec62
...
...
@@ -9,8 +9,8 @@ import com.duben.infinitefunjia.mvp.model.BookChapterBean;
import
com.duben.infinitefunjia.mvp.model.BookContentBean
;
import
com.duben.infinitefunjia.read.models.BookModel
;
import
com.duben.infinitefunjia.read.models.TxtChapterModel
;
import
com.
mints
.library.net.neterror.BaseSubscriber
;
import
com.
mints
.library.net.neterror.Throwable
;
import
com.
duben
.library.net.neterror.BaseSubscriber
;
import
com.
duben
.library.net.neterror.Throwable
;
import
org.reactivestreams.Subscriber
;
import
org.reactivestreams.Subscription
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/read/PageLoader.java
View file @
86e8ec62
...
...
@@ -13,7 +13,7 @@ import com.duben.infinitefunjia.read.models.BookModel;
import
com.duben.infinitefunjia.read.models.TxtChapterModel
;
import
com.duben.infinitefunjia.read.models.TxtPageModel
;
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.FileNotFoundException
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/AboutusActivity.kt
View file @
86e8ec62
...
...
@@ -11,7 +11,7 @@ import com.duben.infinitefunjia.common.Constant
import
com.duben.infinitefunjia.ui.activitys.base.BaseActivity
import
com.duben.infinitefunjia.utils.MateUtils
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.header_layout.*
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/BookReadActivity.kt
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@ import com.duben.infinitefunjia.mvp.views.BookReadView
import
com.duben.infinitefunjia.ui.activitys.base.BaseActivity
import
com.duben.infinitefunjia.ui.widgets.BookSettingDialog
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.header_layout.*
import
net.nightwhistler.htmlspanner.HtmlSpanner
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/HistoryActivity.kt
View file @
86e8ec62
package
com.duben.infinitefunjia.ui.activitys
import
android.view.View
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.manager.AppHttpManager
import
com.duben.infinitefunjia.mvp.model.BaseResponse
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/ManageOrderActivity.kt
View file @
86e8ec62
...
...
@@ -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.DialogListener
import
com.duben.infinitefunjia.utils.ToastUtil
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
mints
.library.utils.nodoubleclick.AntiShake
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
import
com.
duben
.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.activity_manage_order.*
import
kotlinx.android.synthetic.main.header_layout.*
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/MobileLoginActivity.kt
View file @
86e8ec62
...
...
@@ -12,7 +12,7 @@ import android.view.View
import
androidx.core.content.ContextCompat
import
com.daimajia.androidanimations.library.Techniques
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.common.Constant
import
com.duben.infinitefunjia.manager.ActivityPageManager
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/OrderRecordActivity.kt
View file @
86e8ec62
...
...
@@ -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.base.OnItemClickListener
import
com.duben.infinitefunjia.utils.UcropUtils
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
import
com.scwang.smartrefresh.layout.api.RefreshLayout
import
com.scwang.smartrefresh.layout.listener.OnRefreshListener
import
kotlinx.android.synthetic.main.activity_order_record.*
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/SettingsActivity.kt
View file @
86e8ec62
...
...
@@ -24,8 +24,8 @@ import com.duben.infinitefunjia.ui.widgets.CustomDialogAsApple
import
com.duben.infinitefunjia.ui.widgets.DialogListener
import
com.duben.infinitefunjia.ui.widgets.DialogUtils
import
com.duben.infinitefunjia.utils.*
import
com.
mints
.library.utils.json.JsonUtil
import
com.
mints
.library.utils.nodoubleclick.AntiShake
import
com.
duben
.library.utils.json.JsonUtil
import
com.
duben
.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.activity_settings.*
import
kotlinx.android.synthetic.main.header_layout.*
import
java.util.*
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/VipActivity.kt
View file @
86e8ec62
...
...
@@ -15,8 +15,8 @@ import androidx.recyclerview.widget.GridLayoutManager
import
androidx.recyclerview.widget.LinearLayoutManager
import
com.daimajia.androidanimations.library.Techniques
import
com.daimajia.androidanimations.library.YoYo
import
com.
mints
.library.utils.GlideUtils
import
com.
mints
.library.utils.nodoubleclick.AntiShake
import
com.
duben
.library.utils.GlideUtils
import
com.
duben
.library.utils.nodoubleclick.AntiShake
import
com.duben.infinitefunjia.BuildConfig
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.common.AppConfig
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/WxLoginActivity.kt
View file @
86e8ec62
...
...
@@ -24,8 +24,8 @@ import com.duben.infinitefunjia.ui.activitys.base.BaseActivity
import
com.duben.infinitefunjia.utils.CommonUtils
import
com.duben.infinitefunjia.utils.SpanUtils
import
com.duben.infinitefunjia.utils.ToastUtil
import
com.
mints
.library.utils.json.JsonUtil
import
com.
mints
.library.utils.nodoubleclick.AntiShake
import
com.
duben
.library.utils.json.JsonUtil
import
com.
duben
.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.activity_wx_login.*
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/activitys/base/BaseActivity.java
View file @
86e8ec62
...
...
@@ -25,8 +25,8 @@ import com.duben.infinitefunjia.mvp.views.BaseView;
import
com.duben.infinitefunjia.ui.widgets.LoadingDialog
;
import
com.duben.infinitefunjia.utils.StatusBarUtil
;
import
com.duben.infinitefunjia.utils.ToastUtil
;
import
com.
mints
.library.base.BaseAppCompatActivity
;
import
com.
mints
.library.net.netstatus.NetUtils
;
import
com.
duben
.library.base.BaseAppCompatActivity
;
import
com.
duben
.library.net.netstatus.NetUtils
;
public
abstract
class
BaseActivity
extends
BaseAppCompatActivity
implements
BaseView
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/BookShelfAdapter.kt
View file @
86e8ec62
...
...
@@ -15,7 +15,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.mvp.model.BookBean
import
com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import
com.
mints
.library.utils.GlideUtils
import
com.
duben
.library.utils.GlideUtils
/**
* @author Assen
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/CountAdapter.kt
View file @
86e8ec62
...
...
@@ -13,7 +13,7 @@ import com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.mvp.model.BookBean
import
com.duben.infinitefunjia.ui.adapter.base.OnItemClickListener
import
com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import
com.
mints
.library.utils.GlideUtils
import
com.
duben
.library.utils.GlideUtils
class
CountAdapter
:
BaseQuickAdapter
<
BookBean
,
BaseViewHolder
>(
R
.
layout
.
item_list_count
)
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/HotBookAdapter.kt
View file @
86e8ec62
...
...
@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.mvp.model.BookBean
import
com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import
com.
mints
.library.utils.GlideUtils
import
com.
duben
.library.utils.GlideUtils
class
HotBookAdapter
(
var
activity
:
Activity
)
:
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/ImageTitleAdapter.java
View file @
86e8ec62
...
...
@@ -6,7 +6,7 @@ import android.view.ViewGroup;
import
com.duben.infinitefunjia.R
;
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
java.util.List
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/LikeBookAdapter.kt
View file @
86e8ec62
...
...
@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.mvp.model.BookBean
import
com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import
com.
mints
.library.utils.GlideUtils
import
com.
duben
.library.utils.GlideUtils
class
LikeBookAdapter
(
var
activity
:
Activity
)
:
BaseQuickAdapter
<
BookBean
,
BaseViewHolder
>(
R
.
layout
.
item_booklike
)
{
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/NewBookAdapter.kt
View file @
86e8ec62
...
...
@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.mvp.model.BookBean
import
com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import
com.
mints
.library.utils.GlideUtils
import
com.
duben
.library.utils.GlideUtils
class
NewBookAdapter
(
var
activity
:
Activity
)
:
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/SearchBookAdapter.kt
View file @
86e8ec62
...
...
@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.mvp.model.BookBean
import
com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import
com.
mints
.library.utils.GlideUtils
import
com.
duben
.library.utils.GlideUtils
class
SearchBookAdapter
(
var
activity
:
Activity
)
:
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/SearchHotBookAdapter.kt
View file @
86e8ec62
...
...
@@ -11,7 +11,7 @@ import com.chad.library.adapter.base.viewholder.BaseViewHolder
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.mvp.model.BookBean
import
com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import
com.
mints
.library.utils.GlideUtils
import
com.
duben
.library.utils.GlideUtils
class
SearchHotBookAdapter
(
var
activity
:
Activity
)
:
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/adapter/VipBannerAdapter.java
View file @
86e8ec62
...
...
@@ -7,7 +7,7 @@ import android.view.ViewGroup;
import
com.duben.infinitefunjia.R
;
import
com.duben.infinitefunjia.mvp.model.BookBean
;
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
java.util.List
;
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/fragment/BookCityFragment.kt
View file @
86e8ec62
...
...
@@ -27,8 +27,8 @@ import com.duben.infinitefunjia.ui.adapter.ImageTitleAdapter
import
com.duben.infinitefunjia.ui.fragment.base.LazyLoadBaseFragment
import
com.duben.infinitefunjia.utils.GridSpacingItemDecoration
import
com.duben.infinitefunjia.utils.RoundBackgroundColorSpan
import
com.
mints
.library.utils.GlideUtils
import
com.
mints
.library.utils.nodoubleclick.AntiShake
import
com.
duben
.library.utils.GlideUtils
import
com.
duben
.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.fragment_main_bookcity.*
/**
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/fragment/CountFragment.kt
View file @
86e8ec62
...
...
@@ -20,7 +20,7 @@ import com.duben.infinitefunjia.mvp.views.CountView
import
com.duben.infinitefunjia.ui.adapter.CountAdapter
import
com.duben.infinitefunjia.ui.adapter.HomeVideoPageAdapter
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.listener.OnLoadMoreListener
import
com.scwang.smartrefresh.layout.listener.OnRefreshListener
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/fragment/MyFragment.kt
View file @
86e8ec62
...
...
@@ -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.PhoneDialog
import
com.duben.infinitefunjia.utils.TimeRender
import
com.
mints
.library.net.neterror.BaseSubscriber
import
com.
mints
.library.net.neterror.Throwable
import
com.
mints
.library.utils.nodoubleclick.AntiShake
import
com.
duben
.library.net.neterror.BaseSubscriber
import
com.
duben
.library.net.neterror.Throwable
import
com.
duben
.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.fragment_main_my.*
/**
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/fragment/base/BaseFragment.java
View file @
86e8ec62
...
...
@@ -16,7 +16,7 @@ import com.duben.infinitefunjia.R;
import
com.duben.infinitefunjia.common.AppConfig
;
import
com.duben.infinitefunjia.ui.widgets.LoadingDialog
;
import
com.duben.infinitefunjia.utils.ToastUtil
;
import
com.
mints
.library.base.BaseAppFragment
;
import
com.
duben
.library.base.BaseAppFragment
;
/**
...
...
book/app/src/main/java/com/duben/infinitefunjia/ui/widgets/DownloadProgressDialog.kt
View file @
86e8ec62
...
...
@@ -13,8 +13,8 @@ import com.downloader.Progress
import
com.duben.infinitefunjia.MintsApplication
import
com.duben.infinitefunjia.R
import
com.duben.infinitefunjia.utils.CacheUtil
import
com.
mints
.library.utils.Utils
import
com.
mints
.library.utils.nodoubleclick.AntiShake
import
com.
duben
.library.utils.Utils
import
com.
duben
.library.utils.nodoubleclick.AntiShake
/**
* 下载进度弹窗
...
...
book/app/src/main/java/com/duben/infinitefunjia/utils/AESUtils.java
View file @
86e8ec62
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.BuildConfig
;
...
...
book/app/src/main/java/com/duben/library/base/BaseAppCompatActivity.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.app.Activity
;
import
android.app.AlertDialog
;
...
...
@@ -20,11 +20,11 @@ import android.view.Window;
import
android.view.WindowManager
;
import
com.duben.infinitefunjia.R
;
import
com.
mints
.library.loading.VaryViewHelperController
;
import
com.
mints
.library.net.netstatus.NetChangeObserver
;
import
com.
mints
.library.net.netstatus.NetStateReceiver
;
import
com.
mints
.library.net.netstatus.NetUtils
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
duben
.library.loading.VaryViewHelperController
;
import
com.
duben
.library.net.netstatus.NetChangeObserver
;
import
com.
duben
.library.net.netstatus.NetStateReceiver
;
import
com.
duben
.library.net.netstatus.NetUtils
;
import
com.
duben
.library.utils.CommonUtils
;
import
com.readystatesoftware.systembartint.SystemBarTintManager
;
...
...
book/app/src/main/java/com/duben/library/base/BaseAppFragment.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.app.Activity
;
import
android.content.Context
;
...
...
@@ -16,8 +16,8 @@ import android.view.ViewGroup;
import
com.duben.infinitefunjia.R
;
import
com.duben.infinitefunjia.common.AppConfig
;
import
com.
mints
.library.loading.VaryViewHelperController
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
duben
.library.loading.VaryViewHelperController
;
import
com.
duben
.library.utils.CommonUtils
;
import
java.lang.reflect.Field
;
...
...
book/app/src/main/java/com/duben/library/base/BaseFragmentActivity.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.content.Context
;
import
android.content.Intent
;
...
...
@@ -13,11 +13,11 @@ import android.view.View;
import
android.view.Window
;
import
android.view.WindowManager
;
import
com.
mints
.library.loading.VaryViewHelperController
;
import
com.
mints
.library.net.netstatus.NetChangeObserver
;
import
com.
mints
.library.net.netstatus.NetStateReceiver
;
import
com.
mints
.library.net.netstatus.NetUtils
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
duben
.library.loading.VaryViewHelperController
;
import
com.
duben
.library.net.netstatus.NetChangeObserver
;
import
com.
duben
.library.net.netstatus.NetStateReceiver
;
import
com.
duben
.library.net.netstatus.NetUtils
;
import
com.
duben
.library.utils.CommonUtils
;
import
com.duben.infinitefunjia.R
;
import
com.readystatesoftware.systembartint.SystemBarTintManager
;
...
...
book/app/src/main/java/com/duben/library/base/BaseLazyFragment.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.app.Activity
;
import
android.content.Context
;
...
...
@@ -15,8 +15,8 @@ import android.view.ViewGroup;
import
com.duben.infinitefunjia.R
;
import
com.
mints
.library.loading.VaryViewHelperController
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
duben
.library.loading.VaryViewHelperController
;
import
com.
duben
.library.utils.CommonUtils
;
import
java.lang.reflect.Field
;
...
...
book/app/src/main/java/com/duben/library/base/BaseLazyViewFragment.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.app.Activity
;
import
android.content.Context
;
...
...
@@ -13,8 +13,8 @@ import android.view.View;
import
android.view.ViewGroup
;
import
android.widget.Toast
;
import
com.
mints
.library.loading.VaryViewHelperController
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
duben
.library.loading.VaryViewHelperController
;
import
com.
duben
.library.utils.CommonUtils
;
import
com.duben.infinitefunjia.R
;
import
java.lang.reflect.Field
;
...
...
book/app/src/main/java/com/duben/library/base/BaseSwipeBackCompatActivity.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.os.Bundle
;
import
android.view.View
;
import
com.
mints
.library.swipeback.SwipeBackActivityBase
;
import
com.
mints
.library.swipeback.SwipeBackActivityHelper
;
import
com.
mints
.library.swipeback.SwipeBackLayout
;
import
com.
mints
.library.swipeback.Utils
;
import
com.
duben
.library.swipeback.SwipeBackActivityBase
;
import
com.
duben
.library.swipeback.SwipeBackActivityHelper
;
import
com.
duben
.library.swipeback.SwipeBackLayout
;
import
com.
duben
.library.swipeback.Utils
;
/**
* 描述:BaseSwipeBackCompatActivity
...
...
book/app/src/main/java/com/duben/library/base/BaseSwipeBackFragmentActivity.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.os.Bundle
;
import
android.view.View
;
import
com.
mints
.library.swipeback.SwipeBackActivityBase
;
import
com.
mints
.library.swipeback.SwipeBackActivityHelper
;
import
com.
mints
.library.swipeback.SwipeBackLayout
;
import
com.
mints
.library.swipeback.Utils
;
import
com.
duben
.library.swipeback.SwipeBackActivityBase
;
import
com.
duben
.library.swipeback.SwipeBackActivityHelper
;
import
com.
duben
.library.swipeback.SwipeBackLayout
;
import
com.
duben
.library.swipeback.Utils
;
/**
* 描述:BaseSwipeBackFragmentActivity
...
...
book/app/src/main/java/com/duben/library/base/BaseWebActivity.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.os.Bundle
;
import
androidx.core.content.ContextCompat
;
...
...
@@ -24,9 +24,9 @@ import android.widget.TextView;
import
com.duben.infinitefunjia.R
;
import
com.
mints
.library.net.netstatus.NetUtils
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
mints
.library.widgets.BrowserLayout
;
import
com.
duben
.library.net.netstatus.NetUtils
;
import
com.
duben
.library.utils.CommonUtils
;
import
com.
duben
.library.widgets.BrowserLayout
;
/**
...
...
book/app/src/main/java/com/duben/library/base/TransitionActivity.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.content.Intent
;
import
androidx.appcompat.app.AppCompatActivity
;
...
...
book/app/src/main/java/com/duben/library/base/TransitionFragment.java
View file @
86e8ec62
package
com
.
mints
.
library
.
base
;
package
com
.
duben
.
library
.
base
;
import
android.content.Intent
;
import
androidx.fragment.app.Fragment
;
...
...
book/app/src/main/java/com/duben/library/loading/IVaryViewHelper.java
View file @
86e8ec62
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com
.
mints
.
library
.
loading
;
package
com
.
duben
.
library
.
loading
;
import
android.content.Context
;
import
android.view.View
;
...
...
book/app/src/main/java/com/duben/library/loading/VaryViewHelper.java
View file @
86e8ec62
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com
.
mints
.
library
.
loading
;
package
com
.
duben
.
library
.
loading
;
import
android.content.Context
;
import
android.view.LayoutInflater
;
...
...
book/app/src/main/java/com/duben/library/loading/VaryViewHelperController.java
View file @
86e8ec62
...
...
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com
.
mints
.
library
.
loading
;
package
com
.
duben
.
library
.
loading
;
import
android.view.View
;
import
android.widget.ImageView
;
import
android.widget.TextView
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
duben
.library.utils.CommonUtils
;
import
com.duben.infinitefunjia.R
;
...
...
book/app/src/main/java/com/duben/library/loading/VaryViewHelperX.java
View file @
86e8ec62
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com
.
mints
.
library
.
loading
;
package
com
.
duben
.
library
.
loading
;
import
android.content.Context
;
import
android.view.View
;
...
...
book/app/src/main/java/com/duben/library/net/NetCommon.java
View file @
86e8ec62
package
com
.
mints
.
library
.
net
;
package
com
.
duben
.
library
.
net
;
import
retrofit2.adapter.rxjava.HttpException
;
...
...
book/app/src/main/java/com/duben/library/net/OkHttpProgress.java
View file @
86e8ec62
package
com
.
mints
.
library
.
net
;
package
com
.
duben
.
library
.
net
;
import
java.io.IOException
;
...
...
book/app/src/main/java/com/duben/library/net/neterror/BaseSubscriber.java
View file @
86e8ec62
package
com
.
mints
.
library
.
net
.
neterror
;
package
com
.
duben
.
library
.
net
.
neterror
;
import
rx.Subscriber
;
...
...
book/app/src/main/java/com/duben/library/net/neterror/CashException.java
View file @
86e8ec62
package
com
.
mints
.
library
.
net
.
neterror
;
package
com
.
duben
.
library
.
net
.
neterror
;
import
android.net.ParseException
;
...
...
book/app/src/main/java/com/duben/library/net/neterror/FormatException.java
View file @
86e8ec62
package
com
.
mints
.
library
.
net
.
neterror
;
package
com
.
duben
.
library
.
net
.
neterror
;
/**
* 描述:FormatException
...
...
book/app/src/main/java/com/duben/library/net/neterror/HttpResponseFunc.java
View file @
86e8ec62
package
com
.
mints
.
library
.
net
.
neterror
;
package
com
.
duben
.
library
.
net
.
neterror
;
import
rx.Observable
;
import
rx.functions.Func1
;
...
...
book/app/src/main/java/com/duben/library/net/neterror/ServerException.java
View file @
86e8ec62
package
com
.
mints
.
library
.
net
.
neterror
;
package
com
.
duben
.
library
.
net
.
neterror
;
/**
* 描述:ServerException
...
...
book/app/src/main/java/com/duben/library/net/neterror/Throwable.java
View file @
86e8ec62
package
com
.
mints
.
library
.
net
.
neterror
;
package
com
.
duben
.
library
.
net
.
neterror
;
/**
* 描述:Throwable
...
...
book/app/src/main/java/com/duben/library/net/netstatus/NetChangeObserver.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
net
.
netstatus
;
package
com
.
duben
.
library
.
net
.
netstatus
;
/**
* 描述:NetChangeObserver
...
...
book/app/src/main/java/com/duben/library/net/netstatus/NetStateReceiver.java
View file @
86e8ec62
...
...
@@ -14,14 +14,14 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
net
.
netstatus
;
package
com
.
duben
.
library
.
net
.
netstatus
;
import
android.content.BroadcastReceiver
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.content.IntentFilter
;
import
com.
mints
.library.utils.TLog
;
import
com.
duben
.library.utils.TLog
;
import
java.util.ArrayList
;
...
...
book/app/src/main/java/com/duben/library/net/netstatus/NetUtils.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
net
.
netstatus
;
package
com
.
duben
.
library
.
net
.
netstatus
;
import
android.content.Context
;
import
android.net.ConnectivityManager
;
...
...
book/app/src/main/java/com/duben/library/recyclerview/EndlessRecyclerOnScrollListener.java
View file @
86e8ec62
package
com
.
mints
.
library
.
recyclerview
;
package
com
.
duben
.
library
.
recyclerview
;
import
android.view.View
;
...
...
book/app/src/main/java/com/duben/library/recyclerview/ExStaggeredGridLayoutManager.java
View file @
86e8ec62
package
com
.
mints
.
library
.
recyclerview
;
package
com
.
duben
.
library
.
recyclerview
;
import
android.view.View
;
...
...
book/app/src/main/java/com/duben/library/recyclerview/HeaderAndFooterRecyclerViewAdapter.java
View file @
86e8ec62
package
com
.
mints
.
library
.
recyclerview
;
package
com
.
duben
.
library
.
recyclerview
;
import
android.view.View
;
import
android.view.ViewGroup
;
...
...
book/app/src/main/java/com/duben/library/recyclerview/HeaderSpanSizeLookup.java
View file @
86e8ec62
package
com
.
mints
.
library
.
recyclerview
;
package
com
.
duben
.
library
.
recyclerview
;
import
androidx.recyclerview.widget.GridLayoutManager
;
...
...
book/app/src/main/java/com/duben/library/recyclerview/MyDividerItemDecoration.java
View file @
86e8ec62
package
com
.
mints
.
library
.
recyclerview
;
package
com
.
duben
.
library
.
recyclerview
;
import
android.content.Context
;
import
android.content.res.TypedArray
;
...
...
book/app/src/main/java/com/duben/library/recyclerview/OnListLoadNextPageListener.java
View file @
86e8ec62
package
com
.
mints
.
library
.
recyclerview
;
package
com
.
duben
.
library
.
recyclerview
;
import
android.view.View
;
...
...
book/app/src/main/java/com/duben/library/recyclerview/RecyclerViewUtils.java
View file @
86e8ec62
package
com
.
mints
.
library
.
recyclerview
;
package
com
.
duben
.
library
.
recyclerview
;
import
android.view.View
;
...
...
book/app/src/main/java/com/duben/library/swipeback/SwipeBackActivityBase.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
swipeback
;
package
com
.
duben
.
library
.
swipeback
;
/**
* @author Yrom
...
...
book/app/src/main/java/com/duben/library/swipeback/SwipeBackActivityHelper.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
swipeback
;
package
com
.
duben
.
library
.
swipeback
;
import
android.app.Activity
;
import
android.graphics.Color
;
...
...
book/app/src/main/java/com/duben/library/swipeback/SwipeBackLayout.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
swipeback
;
package
com
.
duben
.
library
.
swipeback
;
import
android.app.Activity
;
import
android.content.Context
;
...
...
book/app/src/main/java/com/duben/library/swipeback/Utils.java
View file @
86e8ec62
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
swipeback
;
package
com
.
duben
.
library
.
swipeback
;
import
android.app.Activity
;
import
android.app.ActivityOptions
;
...
...
book/app/src/main/java/com/duben/library/swipeback/ViewDragHelper.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
swipeback
;
package
com
.
duben
.
library
.
swipeback
;
import
android.content.Context
;
import
androidx.core.view.MotionEventCompat
;
...
...
book/app/src/main/java/com/duben/library/utils/AITextUtil.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
java.io.ByteArrayInputStream
;
import
java.io.ByteArrayOutputStream
;
...
...
book/app/src/main/java/com/duben/library/utils/AppUtils.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.app.ActivityManager
;
import
android.content.Context
;
...
...
book/app/src/main/java/com/duben/library/utils/CommonUtils.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.content.Context
;
import
android.content.pm.ApplicationInfo
;
...
...
book/app/src/main/java/com/duben/library/utils/ConstantUtil.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.content.ComponentName
;
import
android.content.Context
;
...
...
book/app/src/main/java/com/duben/library/utils/DensityUtils.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.content.Context
;
import
android.content.res.Configuration
;
...
...
book/app/src/main/java/com/duben/library/utils/GlideUtils.kt
View file @
86e8ec62
package
com.
mints
.library.utils
package
com.
duben
.library.utils
import
android.annotation.SuppressLint
import
android.content.Context
...
...
book/app/src/main/java/com/duben/library/utils/PhoneParameterUtils.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.app.Application
;
import
android.content.Context
;
...
...
book/app/src/main/java/com/duben/library/utils/SmartBarUtils.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.app.ActionBar
;
import
android.content.Context
;
...
...
book/app/src/main/java/com/duben/library/utils/SystemUtils.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.app.Activity
;
import
android.app.PendingIntent
;
...
...
book/app/src/main/java/com/duben/library/utils/TLog.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.util.Log
;
...
...
book/app/src/main/java/com/duben/library/utils/Utils.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
utils
;
package
com
.
duben
.
library
.
utils
;
import
android.accessibilityservice.AccessibilityServiceInfo
;
import
android.app.Activity
;
...
...
book/app/src/main/java/com/duben/library/utils/json/FooAnnotation.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
.
json
;
package
com
.
duben
.
library
.
utils
.
json
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
...
...
book/app/src/main/java/com/duben/library/utils/json/FooAnnotationExclusionStrategy.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
.
json
;
package
com
.
duben
.
library
.
utils
.
json
;
import
com.google.gson.ExclusionStrategy
;
...
...
book/app/src/main/java/com/duben/library/utils/json/JsonUtil.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
.
json
;
package
com
.
duben
.
library
.
utils
.
json
;
import
android.util.Log
;
...
...
book/app/src/main/java/com/duben/library/utils/nodoubleclick/AntiShake.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
.
nodoubleclick
;
package
com
.
duben
.
library
.
utils
.
nodoubleclick
;
public
class
AntiShake
{
private
static
LimitQueue
<
OneClick
>
queue
=
new
LimitQueue
<>(
20
);
...
...
book/app/src/main/java/com/duben/library/utils/nodoubleclick/LimitQueue.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
.
nodoubleclick
;
package
com
.
duben
.
library
.
utils
.
nodoubleclick
;
import
java.util.ArrayList
;
import
java.util.LinkedList
;
...
...
book/app/src/main/java/com/duben/library/utils/nodoubleclick/NoDoubleClickListener.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
.
nodoubleclick
;
package
com
.
duben
.
library
.
utils
.
nodoubleclick
;
import
android.view.View
;
...
...
book/app/src/main/java/com/duben/library/utils/nodoubleclick/OneClick.java
View file @
86e8ec62
package
com
.
mints
.
library
.
utils
.
nodoubleclick
;
package
com
.
duben
.
library
.
utils
.
nodoubleclick
;
import
java.util.Calendar
;
...
...
book/app/src/main/java/com/duben/library/widgets/BrowserLayout.java
View file @
86e8ec62
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
com
.
mints
.
library
.
widgets
;
package
com
.
duben
.
library
.
widgets
;
import
android.content.Context
;
import
android.content.Intent
;
...
...
@@ -35,7 +35,7 @@ import android.widget.ProgressBar;
import
android.widget.TextView
;
import
com.duben.infinitefunjia.R
;
import
com.
mints
.library.utils.CommonUtils
;
import
com.
duben
.library.utils.CommonUtils
;
/**
...
...
book/app/src/main/res/layout/activity_common_web.xml
View file @
86e8ec62
This diff is collapsed.
Click to expand it.
book/app/src/main/res/layout/activity_web.xml
View file @
86e8ec62
This diff is collapsed.
Click to expand it.
book/app/src/main/res/layout/swipeback_layout.xml
View file @
86e8ec62
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment