|
@ -389,9 +389,10 @@ public class OrderSelectionActivity extends AppCompatActivity { |
|
|
// 使用 Glide 加载网络图片,设置圆形裁剪和默认图片 |
|
|
// 使用 Glide 加载网络图片,设置圆形裁剪和默认图片 |
|
|
Glide.with(this) |
|
|
Glide.with(this) |
|
|
.load(logoUrl) |
|
|
.load(logoUrl) |
|
|
.apply(RequestOptions.bitmapTransform(new CircleCrop())) |
|
|
|
|
|
|
|
|
.apply(RequestOptions |
|
|
|
|
|
.bitmapTransform(new CircleCrop()) |
|
|
.placeholder(R.drawable.ic_warriors_logo) // 加载中显示默认图片 |
|
|
.placeholder(R.drawable.ic_warriors_logo) // 加载中显示默认图片 |
|
|
.error(R.drawable.ic_warriors_logo) // 加载失败显示默认图片 |
|
|
|
|
|
|
|
|
.error(R.drawable.ic_warriors_logo)) // 加载失败显示默认图片 |
|
|
.into(ivStoreIcon); |
|
|
.into(ivStoreIcon); |
|
|
} else { |
|
|
} else { |
|
|
LogManager.logInfo(TAG, "Logo URL为空或ImageView为空,使用默认图标"); |
|
|
LogManager.logInfo(TAG, "Logo URL为空或ImageView为空,使用默认图标"); |
|
|