Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mctower
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
tangguangrui
mctower
Commits
75546502
Commit
75546502
authored
Dec 12, 2022
by
tangguangrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改闪退bug和获取七牛数据提示失败的问题
parent
977a57c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
DetailActivity.java
app/src/main/java/cn/mctower/visitor/DetailActivity.java
+8
-2
PassThroughDetailActivity.java
...in/java/cn/mctower/visitor/PassThroughDetailActivity.java
+7
-2
No files found.
app/src/main/java/cn/mctower/visitor/DetailActivity.java
View file @
75546502
...
@@ -162,7 +162,8 @@ public class DetailActivity extends NetBaseAppCompatActivity {
...
@@ -162,7 +162,8 @@ public class DetailActivity extends NetBaseAppCompatActivity {
adapter
=
new
MyAdapter
();
adapter
=
new
MyAdapter
();
listView
.
setAdapter
(
adapter
);
listView
.
setAdapter
(
adapter
);
loadData
();
initQiNiuToken
();
}
}
...
@@ -203,6 +204,12 @@ public class DetailActivity extends NetBaseAppCompatActivity {
...
@@ -203,6 +204,12 @@ public class DetailActivity extends NetBaseAppCompatActivity {
netPicUtil
.
display
(
facePicture
,
qiNiuTokenBean
.
url
+
bean
.
user
.
faceImg
);
netPicUtil
.
display
(
facePicture
,
qiNiuTokenBean
.
url
+
bean
.
user
.
faceImg
);
}
}
}
}
@Override
public
void
requestFinish
()
{
super
.
requestFinish
();
loadData
();
}
},
null
);
},
null
);
}
}
...
@@ -222,7 +229,6 @@ public class DetailActivity extends NetBaseAppCompatActivity {
...
@@ -222,7 +229,6 @@ public class DetailActivity extends NetBaseAppCompatActivity {
// idNoTitle.setVisibility(bean.user.isBindingId == 1 ? View.INVISIBLE : View.VISIBLE);
// idNoTitle.setVisibility(bean.user.isBindingId == 1 ? View.INVISIBLE : View.VISIBLE);
// idCode.setVisibility(bean.user.isBindingId == 1 ? View.INVISIBLE : View.VISIBLE);
// idCode.setVisibility(bean.user.isBindingId == 1 ? View.INVISIBLE : View.VISIBLE);
noteInput
.
setText
(
bean
.
user
.
remark
);
noteInput
.
setText
(
bean
.
user
.
remark
);
initQiNiuToken
();
}
}
if
(
bean
.
visitList
!=
null
){
if
(
bean
.
visitList
!=
null
){
data
.
addAll
(
bean
.
visitList
);
data
.
addAll
(
bean
.
visitList
);
...
...
app/src/main/java/cn/mctower/visitor/PassThroughDetailActivity.java
View file @
75546502
...
@@ -138,7 +138,7 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
...
@@ -138,7 +138,7 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
roundlayoutPic
.
setRoundLayoutBorder
(
Color
.
parseColor
(
"#999999"
),
1
);
roundlayoutPic
.
setRoundLayoutBorder
(
Color
.
parseColor
(
"#999999"
),
1
);
roundlayoutAddPic
.
setRoundLayoutRadius
(
20
f
);
roundlayoutAddPic
.
setRoundLayoutRadius
(
20
f
);
roundlayoutAddPic
.
setRoundLayoutBorder
(
Color
.
parseColor
(
"#999999"
),
1
);
roundlayoutAddPic
.
setRoundLayoutBorder
(
Color
.
parseColor
(
"#999999"
),
1
);
loadData
();
initQiNiuToken
();
}
}
@OnClick
({
R
.
id
.
backBtn
,
R
.
id
.
bindBtn
,
R
.
id
.
editBtn
,
R
.
id
.
addPic
})
@OnClick
({
R
.
id
.
backBtn
,
R
.
id
.
bindBtn
,
R
.
id
.
editBtn
,
R
.
id
.
addPic
})
...
@@ -203,7 +203,6 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
...
@@ -203,7 +203,6 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
editBtn
.
setVisibility
(
View
.
GONE
);
editBtn
.
setVisibility
(
View
.
GONE
);
}
}
initQiNiuToken
();
}
}
}
}
...
@@ -228,6 +227,12 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
...
@@ -228,6 +227,12 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
}
}
}
}
@Override
public
void
requestFinish
()
{
super
.
requestFinish
();
loadData
();
}
},
null
);
},
null
);
}
}
...
...
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