Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
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
杨凯
YDL-Component-Medical
Commits
7ae0cdb1
Commit
7ae0cdb1
authored
May 09, 2020
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
网络状态不显示问题
parent
e325951b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
config.gradle
config.gradle
+3
-3
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+6
-0
No files found.
config.gradle
View file @
7ae0cdb1
...
@@ -5,7 +5,7 @@ ext {
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.48.49.
7
"
,
"m-confide"
:
"0.0.48.49.
8
"
,
"m-consultant"
:
"0.0.59.10"
,
"m-consultant"
:
"0.0.59.10"
,
"m-fm"
:
"0.0.29.9"
,
"m-fm"
:
"0.0.29.9"
,
"m-user"
:
"0.0.60.11"
,
"m-user"
:
"0.0.60.11"
,
...
@@ -39,7 +39,7 @@ ext {
...
@@ -39,7 +39,7 @@ ext {
"ydl-webview"
:
"0.0.38.31"
,
"ydl-webview"
:
"0.0.38.31"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.9"
,
"ydl-pay"
:
"0.0.18.9"
,
"m-audioim"
:
"0.0.49.29.
1
"
,
"m-audioim"
:
"0.0.49.29.
2
"
,
"ydl-flutter-base"
:
"0.0.14.14"
,
"ydl-flutter-base"
:
"0.0.14.14"
,
//以下 几乎不会动
//以下 几乎不会动
...
@@ -122,7 +122,7 @@ ext {
...
@@ -122,7 +122,7 @@ ext {
"ydl-webview"
:
"0.0.38.31"
,
"ydl-webview"
:
"0.0.38.31"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.9"
,
"ydl-pay"
:
"0.0.18.9"
,
"m-audioim"
:
"0.0.49.29.
1
"
,
"m-audioim"
:
"0.0.49.29.
2
"
,
"ydl-flutter-base"
:
"0.0.14.14"
,
"ydl-flutter-base"
:
"0.0.14.14"
,
//以下 几乎不会动
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
7ae0cdb1
...
@@ -1077,6 +1077,9 @@ class AudioHomeActivity :
...
@@ -1077,6 +1077,9 @@ class AudioHomeActivity :
*/
*/
private
fun
showNetStatus
(
msg
:
String
,
status
:
Int
=
0
)
{
private
fun
showNetStatus
(
msg
:
String
,
status
:
Int
=
0
)
{
LogUtil
.
e
(
"showNetStatus: msg=$msg,status=$status"
)
LogUtil
.
e
(
"showNetStatus: msg=$msg,status=$status"
)
if
(
tv_nte_status
.
visibility
==
View
.
VISIBLE
)
{
return
}
if
(
TextUtils
.
isEmpty
(
msg
))
{
if
(
TextUtils
.
isEmpty
(
msg
))
{
tv_nte_status
.
visibility
=
View
.
GONE
tv_nte_status
.
visibility
=
View
.
GONE
}
else
{
}
else
{
...
@@ -1102,6 +1105,9 @@ class AudioHomeActivity :
...
@@ -1102,6 +1105,9 @@ class AudioHomeActivity :
}
}
tv_nte_status
.
visibility
=
View
.
VISIBLE
tv_nte_status
.
visibility
=
View
.
VISIBLE
tv_nte_status
.
postDelayed
({
tv_nte_status
.
visibility
=
View
.
GONE
},
2000
)
}
}
}
}
...
...
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