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
4894fee6
Commit
4894fee6
authored
Mar 18, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新新闻sdk
parent
b8a88eca
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
2 deletions
+20
-2
build.gradle
GoodMoney/app/build.gradle
+1
-0
windAd-2.25.0.aar
GoodMoney/app/libs/windAd-2.25.0.aar
+0
-0
AndroidManifest.xml
GoodMoney/app/src/main/AndroidManifest.xml
+16
-0
RsNewsManager.kt
...rc/main/java/com/mints/goodmoney/manager/RsNewsManager.kt
+2
-0
WrapperActivity.kt
.../java/com/mints/goodmoney/ui/activitys/WrapperActivity.kt
+0
-1
RsNewsFragment.kt
...in/java/com/mints/goodmoney/ui/fragment/RsNewsFragment.kt
+1
-1
No files found.
GoodMoney/app/build.gradle
View file @
4894fee6
...
@@ -246,6 +246,7 @@ dependencies {
...
@@ -246,6 +246,7 @@ dependencies {
implementation
'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
implementation
'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
implementation
(
name:
'xrsdk-release_tbs'
,
ext:
'aar'
)
implementation
(
name:
'xrsdk-release_tbs'
,
ext:
'aar'
)
implementation
(
name:
'xrsharesdk-release_tbs'
,
ext:
'aar'
)
implementation
(
name:
'xrsharesdk-release_tbs'
,
ext:
'aar'
)
implementation
(
name:
'windAd-2.25.0'
,
ext:
'aar'
)
implementation
'com.scwang.smart:refresh-layout-kernel:2.0.3'
implementation
'com.scwang.smart:refresh-layout-kernel:2.0.3'
implementation
'com.scwang.smart:refresh-header-classics:2.0.3'
implementation
'com.scwang.smart:refresh-header-classics:2.0.3'
implementation
'com.scwang.smart:refresh-footer-classics:2.0.3'
implementation
'com.scwang.smart:refresh-footer-classics:2.0.3'
...
...
GoodMoney/app/libs/windAd-2.25.0.aar
0 → 100755
View file @
4894fee6
File added
GoodMoney/app/src/main/AndroidManifest.xml
View file @
4894fee6
...
@@ -398,6 +398,22 @@
...
@@ -398,6 +398,22 @@
</provider>
</provider>
<!-- sigmob -->
<activity
android:name=
"com.sigmob.sdk.base.common.AdActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:theme=
"@android:style/Theme.DeviceDefault"
/>
<provider
android:name=
"com.sigmob.sdk.SigmobFileProvider"
android:authorities=
"${applicationId}.sigprovider"
android:exported=
"false"
android:grantUriPermissions=
"true"
>
<meta-data
android:name=
"android.support.FILE_PROVIDER_PATHS"
android:resource=
"@xml/sigmob_provider_paths"
/>
</provider>
<!-- 来电秀 -->
<!-- 来电秀 -->
<service
<service
android:name=
".call.service.PhoneListenService"
android:name=
".call.service.PhoneListenService"
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/RsNewsManager.kt
View file @
4894fee6
...
@@ -11,12 +11,14 @@ import com.xr.xrsdk.XRNewsManager
...
@@ -11,12 +11,14 @@ import com.xr.xrsdk.XRNewsManager
object
RsNewsManager
{
object
RsNewsManager
{
private
const
val
APP_ID
=
"19e575538d2947ad9323e6c2a70d9a7f"
private
const
val
APP_ID
=
"19e575538d2947ad9323e6c2a70d9a7f"
// private const val APP_ID = "wx99a2f75faabecd8c"
private
const
val
WX_APP_ID
=
"wxc8ac2985f6a805e2"
private
const
val
WX_APP_ID
=
"wxc8ac2985f6a805e2"
/**
/**
* 初始化
* 初始化
*/
*/
fun
init
(
application
:
Application
)
{
fun
init
(
application
:
Application
)
{
QbSdk
.
initX5Environment
(
application
,
null
)
XRNewsManager
.
getInstance
().
init
(
application
,
APP_ID
,
WX_APP_ID
)
XRNewsManager
.
getInstance
().
init
(
application
,
APP_ID
,
WX_APP_ID
)
}
}
}
}
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/WrapperActivity.kt
View file @
4894fee6
...
@@ -49,7 +49,6 @@ class WrapperActivity : BaseActivity(), View.OnClickListener {
...
@@ -49,7 +49,6 @@ class WrapperActivity : BaseActivity(), View.OnClickListener {
var
currentFragment
:
Fragment
?
var
currentFragment
:
Fragment
?
when
(
wrapperType
)
{
when
(
wrapperType
)
{
Constant
.
WRAPPER_TYPE_NEWS
->
{
Constant
.
WRAPPER_TYPE_NEWS
->
{
layoutWrapper
.
visibility
=
View
.
GONE
tv_title
.
text
=
"新闻"
tv_title
.
text
=
"新闻"
currentFragment
=
RsNewsFragment
()
currentFragment
=
RsNewsFragment
()
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/RsNewsFragment.kt
View file @
4894fee6
...
@@ -48,6 +48,6 @@ class RsNewsFragment : LazyLoadBaseFragment(), RsNewsView, FinishReadNewsCallBac
...
@@ -48,6 +48,6 @@ class RsNewsFragment : LazyLoadBaseFragment(), RsNewsView, FinishReadNewsCallBac
override
fun
finishRead
(
id
:
String
,
seconds
:
Int
)
{
override
fun
finishRead
(
id
:
String
,
seconds
:
Int
)
{
LogUtil
.
d
(
"RsNewsFragment"
,
"id:${id}"
)
LogUtil
.
d
(
"RsNewsFragment"
,
"id:${id}"
)
rsNewsPresenter
.
addNewsSeconds
(
seconds
)
//
rsNewsPresenter.addNewsSeconds(seconds)
}
}
}
}
\ No newline at end of file
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