File tree Expand file tree Collapse file tree 4 files changed +0
-23
lines changed
java/com/klee/sapio/ui/view Expand file tree Collapse file tree 4 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,6 @@ class EvaluationsActivity : AppCompatActivity() {
8383 mViewModel.iconUrl.observe(this ) {
8484 Glide .with (this .applicationContext)
8585 .load(EvaluationService .BASE_URL + it)
86- .placeholder(R .drawable.ic_android)
87- .error(R .drawable.ic_android)
8886 .into(mBinding.image)
8987 }
9088
@@ -103,10 +101,6 @@ class EvaluationsActivity : AppCompatActivity() {
103101 startActivity(intent)
104102 }
105103
106- mBinding.image.setImageDrawable(
107- AppCompatResources .getDrawable(applicationContext, R .drawable.ic_android)
108- )
109-
110104 mViewModel.listEvaluations(packageName)
111105 }
112106
Original file line number Diff line number Diff line change @@ -70,17 +70,11 @@ class FeedAppAdapter(
7070 element.rooted.setBackgroundColor(rootLabel.color)
7171 }
7272
73- holder.binding.image.setImageDrawable(
74- AppCompatResources .getDrawable(mContext, R .drawable.ic_android)
75- )
76-
7773 holder.imageLoadJob = holder.viewHolderScope.launch {
7874 val icons = mEvaluationRepository.existingIcon(" ${app.packageName} .png" )
7975 if (icons.isNotEmpty()) {
8076 Glide .with (mContext.applicationContext)
8177 .load(EvaluationService .BASE_URL + icons[0 ].url)
82- .placeholder(R .drawable.ic_android)
83- .error(R .drawable.ic_android)
8478 .into(holder.binding.image)
8579 }
8680 }
Original file line number Diff line number Diff line change @@ -46,17 +46,11 @@ class SearchAppAdapter(
4646 element.appName.text = app.name
4747 element.packageName.text = app.packageName
4848
49- holder.binding.image.setImageDrawable(
50- AppCompatResources .getDrawable(mContext, R .drawable.ic_android)
51- )
52-
5349 holder.imageLoadJob = holder.viewHolderScope.launch {
5450 val icons = mEvaluationRepository.existingIcon(" ${app.packageName} .png" )
5551 if (icons.isNotEmpty()) {
5652 Glide .with (mContext.applicationContext)
5753 .load(EvaluationService .BASE_URL + icons[0 ].url)
58- .placeholder(R .drawable.ic_android)
59- .error(R .drawable.ic_android)
6054 .into(holder.binding.image)
6155 }
6256 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments