Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
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_goodmoney
Commits
52049f15
Commit
52049f15
authored
Apr 19, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.2.4发版 更换中文在线调用方式
parent
307416e4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
MintsApplication.java
...p/src/main/java/com/mints/goodmoney/MintsApplication.java
+0
-3
ReaderManager.kt
...rc/main/java/com/mints/goodmoney/manager/ReaderManager.kt
+3
-1
MainFragment.kt
...main/java/com/mints/goodmoney/ui/fragment/MainFragment.kt
+1
-0
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/MintsApplication.java
View file @
52049f15
...
...
@@ -157,9 +157,6 @@ public class MintsApplication extends MultiDexApplication {
// 自定义logger
bindLogger
();
// 中文在线 听读
ReaderManager
.
INSTANCE
.
init
(
this
);
// 子线程初始化三方SDK
String
processName
=
SystemUtils
.
INSTANCE
.
getProcessName
(
this
,
android
.
os
.
Process
.
myPid
());
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/ReaderManager.kt
View file @
52049f15
...
...
@@ -13,6 +13,7 @@ import com.chineseall.reader17ksdk.utils.DensityUtil.px2dip
import
com.chineseall.reader17ksdk.utils.NetworkUtil.isNetworkAvailable
import
com.chineseall.reader17ksdk.utils.NetworkUtil.isWifiConnected
import
com.chineseall.reader17ksdk.utils.book.ScreenUtils
import
com.mints.goodmoney.MintsApplication
/**
* 中文在线 听读
...
...
@@ -36,7 +37,8 @@ object ReaderManager {
private
var
isCsjAd
:
Boolean
=
true
fun
init
(
applicationContext
:
Application
)
{
fun
init
()
{
val
applicationContext
=
MintsApplication
.
getContext
()
install
(
applicationContext
,
APP_ID
,
SECRET
,
APP
,
SUBAPP
,
object
:
AdProvider
{
/**
* 阅读⻚弹窗广告确认按钮的点击回调-激励视频
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MainFragment.kt
View file @
52049f15
...
...
@@ -157,6 +157,7 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
homePresenter
.
comSaveTerminalInfo
(
ps
)
baseApplication
.
initUm
(
context
)
baseApplication
.
TalkingDataConfig
()
ReaderManager
.
init
()
// }
}
...
...
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