Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-android
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6d60ae60
authored
Sep 16, 2021
by
amateur
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
14b7ae71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/src/main/java/com/polysoft/nafmii/wechat/WechatApi.java
app/src/main/java/com/polysoft/nafmii/wechat/WechatApi.java
View file @
6d60ae6
...
...
@@ -78,7 +78,7 @@ public class WechatApi {
this
.
shareText
(
bean
);
}
else
if
(
"1"
.
equals
(
shareType
))
{
// 分享图片
this
.
shareImage
(
bean
);
}
else
if
(
"
2
"
.
equals
(
shareType
))
{
// 分享url地址
}
else
if
(
"
3
"
.
equals
(
shareType
))
{
// 分享url地址
this
.
loadImageUrl
(
ctx
,
webImg
,
new
Callback
<
Bitmap
>()
{
@Override
public
void
onBack
(
Bitmap
data
)
{
...
...
@@ -142,7 +142,7 @@ public class WechatApi {
};
if
(
TextUtils
.
isEmpty
(
url
))
{
Glide
.
with
(
ctx
).
asBitmap
().
load
(
R
.
mipmap
.
ic_launcher
).
override
(
120
,
120
).
into
(
target
);
Glide
.
with
(
ctx
).
asBitmap
().
load
(
R
.
mipmap
.
app_logo
).
override
(
120
,
120
).
into
(
target
);
}
else
{
Glide
.
with
(
ctx
).
asBitmap
().
load
(
url
).
override
(
120
,
120
).
into
(
target
);
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment