Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
location share white
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
location share white
Commits
3a863c64
Commit
3a863c64
authored
Nov 26, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
b87f575f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
ReportUtils.java
.../java/com/base/locationsharewhite/helper/ReportUtils.java
+4
-1
ViewingAdapter.kt
.../base/locationsharewhite/ui/locationmap/ViewingAdapter.kt
+3
-1
No files found.
app/src/main/java/com/base/locationsharewhite/helper/ReportUtils.java
View file @
3a863c64
...
@@ -31,7 +31,10 @@ public class ReportUtils {
...
@@ -31,7 +31,10 @@ public class ReportUtils {
result
.
append
(
"&"
).
append
(
entry
.
getKey
()).
append
(
"="
).
append
(
entry
.
getValue
());
result
.
append
(
"&"
).
append
(
entry
.
getKey
()).
append
(
"="
).
append
(
entry
.
getValue
());
}
}
if
(
result
.
length
()
>
0
)
{
if
(
result
.
length
()
>
0
)
{
conn
.
getOutputStream
().
write
(
result
.
substring
(
1
).
getBytes
());
try
{
conn
.
getOutputStream
().
write
(
result
.
substring
(
1
).
getBytes
());
}
catch
(
Exception
e
)
{
}
}
else
{
}
else
{
// conn.getOutputStream().write(result.substring(0).getBytes());
// conn.getOutputStream().write(result.substring(0).getBytes());
}
}
...
...
app/src/main/java/com/base/locationsharewhite/ui/locationmap/ViewingAdapter.kt
View file @
3a863c64
...
@@ -20,7 +20,9 @@ class ViewingAdapter(
...
@@ -20,7 +20,9 @@ class ViewingAdapter(
override
fun
onBindViewHolder
(
holder
:
ViewingViewHolder
,
position
:
Int
,
item
:
ViewingBean
?)
{
override
fun
onBindViewHolder
(
holder
:
ViewingViewHolder
,
position
:
Int
,
item
:
ViewingBean
?)
{
item
?:
return
item
?:
return
val
binding
=
ItemViewingBinding
.
bind
(
holder
.
itemView
)
val
binding
=
ItemViewingBinding
.
bind
(
holder
.
itemView
)
binding
.
tvNameLetters
.
text
=
item
.
nickname
.
substring
(
0
,
1
)
kotlin
.
runCatching
{
binding
.
tvNameLetters
.
text
=
item
.
nickname
.
substring
(
0
,
1
)
}
binding
.
tvNameCode
.
text
=
item
.
localNickName
?:
item
.
nickname
binding
.
tvNameCode
.
text
=
item
.
localNickName
?:
item
.
nickname
when
(
item
.
locatDate
?.
power
)
{
when
(
item
.
locatDate
?.
power
)
{
in
0
..
20
->
{
in
0
..
20
->
{
...
...
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