More reasonable preview size

This commit is contained in:
anrannn
2022-10-01 14:22:10 +08:00
parent 954c37fe0e
commit 21c45a28c9
@@ -125,7 +125,7 @@ class PostAdapter(val context: Context, private var postYandList: ArrayList<Post
p+19
}
for(index in p..last){
if (p>4) {
if (p>6) {
val source: String = postYandList[index].sample_url
val glideUrl = GlideUrl(
source,
@@ -154,7 +154,7 @@ class PostAdapter(val context: Context, private var postYandList: ArrayList<Post
Util.share(postYandList[position].sample_url,context)
}
holder.picImage.layoutParams.height = postYandList[position].sample_height
holder.picImage.layoutParams.height = postYandList[position].sample_height/2
val glideUrl = GlideUrl(
source,