Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
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_vedio
Commits
fdceb627
Commit
fdceb627
authored
Aug 31, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
dd0ed54f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
GlideUtils.kt
...o/app/src/main/java/com/duben/library/utils/GlideUtils.kt
+11
-0
ic_nine.gif
video/app/src/main/res/drawable/ic_nine.gif
+0
-0
No files found.
video/app/src/main/java/com/duben/library/utils/GlideUtils.kt
View file @
fdceb627
...
...
@@ -189,4 +189,15 @@ object GlideUtils {
.
apply
(
RequestOptions
().
skipMemoryCache
(
true
))
.
into
(
imageView
)
}
//加载Gif*****
fun
loadRoundImageViewGif
(
mContext
:
Context
,
drawable
:
Int
,
imageView
:
ImageView
)
{
val
options
=
RequestOptions
()
.
fitCenter
()
.
diskCacheStrategy
(
DiskCacheStrategy
.
DATA
)
Glide
.
with
(
mContext
)
.
load
(
drawable
)
.
apply
(
options
)
.
into
(
imageView
)
}
}
\ No newline at end of file
video/app/src/main/res/drawable/ic_nine.gif
0 → 100644
View file @
fdceb627
55.5 KB
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