Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-android
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
云深项目组
beyond-clouds-android
Commits
cad702e0
Commit
cad702e0
authored
Mar 16, 2020
by
段启岩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加placeholder_circle
parent
bafa2052
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/src/main/java/cn/yunliyunwai/beyondclouds/adapter/DynamicListRecyclerViewAdapter.java
+2
-2
app/src/main/res/drawable/placeholder_circle.png
+0
-0
No files found.
app/src/main/java/cn/yunliyunwai/beyondclouds/adapter/DynamicListRecyclerViewAdapter.java
View file @
cad702e0
...
...
@@ -79,8 +79,8 @@ public class DynamicListRecyclerViewAdapter extends BaseQuickAdapter<Post,BaseVi
if
(
null
!=
post
.
getUserAvatar
()
&&
!
TextUtils
.
isEmpty
(
post
.
getUserAvatar
().
trim
())
&&
post
.
getUserAvatar
().
startsWith
(
"http"
))
{
RequestOptions
options
=
new
RequestOptions
()
.
centerCrop
()
.
placeholder
(
R
.
drawable
.
placeholder_
squar
e
)
.
error
(
R
.
drawable
.
placeholder_
squar
e
)
.
placeholder
(
R
.
drawable
.
placeholder_
circl
e
)
.
error
(
R
.
drawable
.
placeholder_
circl
e
)
.
priority
(
Priority
.
HIGH
)
.
skipMemoryCache
(
true
)
.
diskCacheStrategy
(
DiskCacheStrategy
.
NONE
)
...
...
app/src/main/res/drawable/placeholder_circle.png
0 → 100644
View file @
cad702e0
6.7 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