Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_fiveworld
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_fiveworld
Commits
9daab299
Commit
9daab299
authored
Aug 03, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加升级接口调用
parent
08e499bb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
ItemEnterDestinationAdapter.kt
...a/com/mints/street/adapter/ItemEnterDestinationAdapter.kt
+1
-1
VrexperienceBean.kt
app/src/main/java/com/mints/street/bean/VrexperienceBean.kt
+1
-0
MainActivity.kt
app/src/main/java/com/mints/street/main/MainActivity.kt
+4
-0
No files found.
app/src/main/java/com/mints/street/adapter/ItemEnterDestinationAdapter.kt
View file @
9daab299
...
...
@@ -47,7 +47,7 @@ class ItemEnterDestinationAdapter(
}
list
?.
let
{
it
->
holder
.
binding
.
tvName
.
text
=
it
[
position
].
area
holder
.
binding
.
tvNumberPeople
.
text
=
"
人数
"
holder
.
binding
.
tvNumberPeople
.
text
=
"
${it[position].activeNum}W人去过
"
it
[
position
].
url
?.
let
{
url
->
KLog
.
e
(
"zsf__"
,
"==========${it.indices}"
)
for
(
index
in
0
..
2
)
{
...
...
app/src/main/java/com/mints/street/bean/VrexperienceBean.kt
View file @
9daab299
...
...
@@ -5,6 +5,7 @@ import java.io.Serializable
class
VreperienceBean
:
Serializable
{
val
data
:
List
<
Data
>?=
null
inner
class
Data
(
val
activeNum
:
Double
,
val
area
:
String
,
val
url
:
List
<
String
>
)
...
...
app/src/main/java/com/mints/street/main/MainActivity.kt
View file @
9daab299
...
...
@@ -81,7 +81,11 @@ class MainActivity : BaseActivity<ActivityMainBinding, MainViewModel>() {
}
}
override
fun
onResume
()
{
super
.
onResume
()
viewModel
.
checkUpgrade
()
}
var
oldTime
:
Long
=
0
...
...
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