Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
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
sobot_android
Sobot_module_Dev
Commits
189f0af6
Commit
189f0af6
authored
Mar 19, 2025
by
郭倩芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
picture修改 fresco加载的图片背景色都是黑色
parent
4ceab2ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sobot-picture-publish-mavencentral.gradle
sobot_pictureframe/sobot-picture-publish-mavencentral.gradle
+1
-1
SobotFrescoImageLoader.java
...n/java/com/sobot/pictureframe/SobotFrescoImageLoader.java
+1
-1
No files found.
sobot_pictureframe/sobot-picture-publish-mavencentral.gradle
View file @
189f0af6
...
...
@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext
{
PUBLISH_GROUP_ID
=
"com.sobot.library"
//项目包名
PUBLISH_ARTIFACT_ID
=
'picture_x'
//项目名
PUBLISH_VERSION
=
'1.2.4'
//版本号
PUBLISH_VERSION
=
'1.2.4
.1
'
//版本号
}
...
...
sobot_pictureframe/src/main/java/com/sobot/pictureframe/SobotFrescoImageLoader.java
View file @
189f0af6
...
...
@@ -62,7 +62,7 @@ public class SobotFrescoImageLoader extends SobotImageLoader {
Bitmap
bitmap
=
params
[
0
];
Bitmap
result
=
null
;
if
(
bitmap
!=
null
&&
!
bitmap
.
isRecycled
())
{
result
=
bitmap
.
copy
(
Bitmap
.
Config
.
RGB_565
,
false
);
result
=
bitmap
.
copy
(
Bitmap
.
Config
.
ARGB_8888
,
false
);
}
return
result
;
}
...
...
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