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
f2f1ec67
Commit
f2f1ec67
authored
Aug 03, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
e5391ef1
9daab299
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-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
+6
-0
No files found.
app/src/main/java/com/mints/street/adapter/ItemEnterDestinationAdapter.kt
View file @
f2f1ec67
...
...
@@ -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
->
for
(
index
in
0
..
2
)
{
when
(
index
)
{
...
...
app/src/main/java/com/mints/street/bean/VrexperienceBean.kt
View file @
f2f1ec67
...
...
@@ -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 @
f2f1ec67
...
...
@@ -83,6 +83,12 @@ class MainActivity : BaseActivity<ActivityMainBinding, MainViewModel>() {
})
}
override
fun
onResume
()
{
super
.
onResume
()
viewModel
.
checkUpgrade
()
}
var
oldTime
:
Long
=
0
override
fun
onKeyDown
(
keyCode
:
Int
,
event
:
KeyEvent
):
Boolean
{
...
...
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