Commit 24dae5cd authored by Jonas L.'s avatar Jonas L.

Add better placeholder to the project list

parent 2412d48a
......@@ -60,7 +60,7 @@ class ContentListAdapter: RecyclerView.Adapter<ViewHolder>() {
if (item.localImageFilename.isEmpty()) {
Picasso.get()
.load(null as String?)
.placeholder(R.mipmap.ic_launcher)
.placeholder(R.drawable.placeholder)
.fit()
.noFade()
.into(holder.binding.previewImage)
......@@ -72,7 +72,7 @@ class ContentListAdapter: RecyclerView.Adapter<ViewHolder>() {
item.localImageFilename
)
)
.placeholder(R.mipmap.ic_launcher)
.placeholder(R.drawable.placeholder)
.fit()
.noFade()
.into(holder.binding.previewImage)
......
......@@ -31,7 +31,7 @@
<de.determapp.android.ui.view.AspectRatioImageView
android:id="@+id/preview_image"
android:src="@mipmap/ic_launcher"
android:src="@drawable/placeholder"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment