Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodnews
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_goodnews
Commits
f6ccde5a
Commit
f6ccde5a
authored
Jun 03, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
06c876ac
Pipeline
#207
canceled with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
84 deletions
+1
-84
build.gradle
app/build.gradle
+0
-24
MintsApplication.java
app/src/main/java/com/mints/goodnews/MintsApplication.java
+0
-3
YlVideoManager.kt
...rc/main/java/com/mints/goodnews/manager/YlVideoManager.kt
+0
-42
FriendsFragment.kt
...in/java/com/mints/goodnews/ui/fragment/FriendsFragment.kt
+1
-1
build.gradle
build.gradle
+0
-14
No files found.
app/build.gradle
View file @
f6ccde5a
...
...
@@ -208,21 +208,6 @@ dependencies {
implementation
(
name:
'umeng-asms-armeabi-v1.2.2'
,
ext:
'aar'
)
implementation
(
name:
'umeng-apm-armeabi-v1.2.0'
,
ext:
'aar'
)
// TalkingDada(已集成)
// 一览视频
implementation
(
"com.yilan.sdk:ui:3.3.1.8"
)
{
exclude
group:
'com.yilan.sdk'
,
module:
'yb_extra'
exclude
group:
'com.yilan.sdk'
,
module:
'gdt'
exclude
group:
'com.yilan.sdk'
,
module:
'ks'
}
implementation
(
'com.aliyun.ams:alicloud-android-httpdns:1.2.3@aar'
)
{
transitive
true
}
implementation
'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-armv5:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-x86:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8'
// 数美
implementation
files
(
'libs/smantifraud.aar'
)
// 猎豹游戏
...
...
@@ -236,18 +221,9 @@ dependencies {
implementation
"org.greenrobot:eventbus:3.1.0-RC"
// 闪电盒子
implementation
(
name:
'wannuosili_ad_2.2.0'
,
ext:
'aar'
)
// 瑞狮新闻
implementation
'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
implementation
(
name:
'xrsdk-release_tbs'
,
ext:
'aar'
)
// 枫岚
implementation
(
name:
'mh-adsdk'
,
ext:
'aar'
)
implementation
(
name:
'mh-adsdk-ext'
,
ext:
'aar'
)
// implementation(name: 'ks_3.3.5.3', ext: 'aar')
// 聚乐云
// implementation(name: 'okgo-2.2', ext: 'aar')
// implementation(name: 'scenemodule-2.2', ext: 'aar')
// implementation(name: 'scenead-2.2', ext: 'aar')
// implementation 'com.just.agentweb:agentweb:4.1.2'
// 喜马拉雅 已集成
// 微转阅读(集成h5)
//天卓SDK的珊瑚2.0组件
...
...
app/src/main/java/com/mints/goodnews/MintsApplication.java
View file @
f6ccde5a
...
...
@@ -21,7 +21,6 @@ import com.mints.goodnews.manager.RsNewsManager;
import
com.mints.goodnews.manager.TtCsjAdManager
;
import
com.mints.goodnews.manager.TzManager
;
import
com.mints.goodnews.manager.WnManager
;
import
com.mints.goodnews.manager.YlVideoManager
;
import
com.mints.goodnews.manager.YlhAdManager
;
import
com.mints.goodnews.net.LoanService
;
import
com.mints.goodnews.utils.ForegroundOrBackground
;
...
...
@@ -139,8 +138,6 @@ public class MintsApplication extends MultiDexApplication {
// 天卓珊瑚
TzManager
.
INSTANCE
.
initTz
(
this
);
// 一览视频
YlVideoManager
.
INSTANCE
.
init
(
this
);
// 猎豹游戏初始化
LiebaoManager
.
getInstance
().
initCmGameSdk
();
...
...
app/src/main/java/com/mints/goodnews/manager/YlVideoManager.kt
deleted
100644 → 0
View file @
06c876ac
package
com.mints.goodnews.manager
import
android.app.Application
import
com.yilan.sdk.ui.YLUIInit
import
com.yilan.sdk.ui.configs.CommentConfig
import
com.yilan.sdk.ui.configs.FeedConfig
import
com.yilan.sdk.ui.configs.YLUIConfig
/**
* 描述:一览视频(好兔)
* 作者:孟崔广
*/
object
YlVideoManager
{
private
const
val
ACCESSKEY
=
"yl9u9jlth8wg"
private
const
val
ACCESSTOKEN
=
"whgsojm7b9t4tpkr5hhd261byllsb6ea"
fun
init
(
application
:
Application
)
{
YLUIInit
.
getInstance
()
.
setCrashOpen
(
false
)
.
setApplication
(
application
)
.
setAccessKey
(
ACCESSKEY
)
.
setAccessToken
(
ACCESSTOKEN
)
.
build
()
//页面个性化配置
YLUIConfig
.
getInstance
()
//抖音样式小视频配置
.
littleLikeShow
(
true
)
//是否显示点赞
.
littleShareShow
(
false
)
//是否显示分享
.
littleShowGuide
(
true
)
//是否显示新手引导滑动浮层(第一次安装进入显示)
.
littleComment
(
CommentConfig
.
CommentType
.
DISMISS_COMMENT
)
//评论,参数详见文档;
//feed流短视频样式配置
.
videoComment
(
CommentConfig
.
CommentType
.
DISMISS_COMMENT
)
//评论,参数详见文档;
.
videoLikeShow
(
false
)
//是否显示点赞
.
videoShareShow
(
false
)
//是否显示分享
.
followAvailable
(
false
)
//关注功能是否可用
.
feedAvatarClickable
(
true
)
//头像是否支持点击跳转到作者页面
.
feedPlayAuto
(
true
)
//feed自动播放
.
feedSwipeRefreshEnable
(
true
)
//feed是否可以下拉刷新
FeedConfig
.
getInstance
().
playerStyle
=
FeedConfig
.
STYLE_FEED_PLAY
//FeedConfig.STYLE_FEED_PLAY当前页面播放
}
}
\ No newline at end of file
app/src/main/java/com/mints/goodnews/ui/fragment/FriendsFragment.kt
View file @
f6ccde5a
...
...
@@ -564,7 +564,7 @@ class FriendsFragment(private var isResume: Boolean = false) : BaseFragment(), F
allcoinBig
.
divide
(
rateBig
).
setScale
(
2
,
BigDecimal
.
ROUND_DOWN
).
toString
()
}
val
content
=
SpanUtils
()
.
append
(
"我已在
尤友
赚了"
)
.
append
(
"我已在
喜闻
赚了"
)
.
append
(
sumCoin
).
setFontSize
(
BubbleUtils
.
dp2px
(
10
))
.
setForegroundColor
(
ContextCompat
.
getColor
(
mContext
,
R
.
color
.
color_E72C2B
)
...
...
build.gradle
View file @
f6ccde5a
...
...
@@ -6,13 +6,6 @@ buildscript {
jcenter
()
maven
{
url
"https://jitpack.io"
}
//添加一览视频 maven地址
maven
{
url
'http://nexus.1lan.tv/repository/maven-releases/'
}
maven
{
url
'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
}
dependencies
{
classpath
'com.android.tools.build:gradle:4.0.1'
...
...
@@ -26,13 +19,6 @@ allprojects {
jcenter
()
maven
{
url
"https://jitpack.io"
}
//添加一览 maven地址
maven
{
url
'http://nexus.1lan.tv/repository/maven-releases/'
}
maven
{
url
'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
}
}
...
...
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