parent
ba83027dc9
commit
d0eb4103ba
|
@ -40,8 +40,8 @@ android {
|
|||
applicationId "kr.co.vividnext.sodalive"
|
||||
minSdk 23
|
||||
targetSdk 33
|
||||
versionCode 76
|
||||
versionName "1.11.3"
|
||||
versionCode 78
|
||||
versionName "1.12.1"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
|
|
@ -832,7 +832,7 @@ class UserProfileActivity : BaseActivity<ActivityUserProfileBinding>(
|
|||
placeholder(R.drawable.ic_place_holder)
|
||||
transformations(RoundedCornersTransformation(4.7f.dpToPx()))
|
||||
|
||||
if (!item.existOrdered) {
|
||||
if (!item.existOrdered && item.price > 0) {
|
||||
transformations(
|
||||
BlurTransformation(
|
||||
this@UserProfileActivity,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.creator_community
|
||||
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import coil.transform.BlurTransformation
|
||||
import coil.transform.CircleCropTransformation
|
||||
import coil.transform.RoundedCornersTransformation
|
||||
import kr.co.vividnext.sodalive.R
|
||||
|
@ -17,6 +19,7 @@ class CreatorCommunityAdapter(
|
|||
val items = mutableListOf<GetCommunityPostListResponse>()
|
||||
|
||||
inner class ViewHolder(
|
||||
private val context: Context,
|
||||
private val binding: ItemCreatorCommunityBinding
|
||||
) : RecyclerView.ViewHolder(binding.root) {
|
||||
fun bind(item: GetCommunityPostListResponse) {
|
||||
|
@ -33,6 +36,16 @@ class CreatorCommunityAdapter(
|
|||
crossfade(true)
|
||||
placeholder(R.drawable.ic_place_holder)
|
||||
transformations(RoundedCornersTransformation(4.7f.dpToPx()))
|
||||
|
||||
if (!item.existOrdered && item.price > 0) {
|
||||
transformations(
|
||||
BlurTransformation(
|
||||
context,
|
||||
25f,
|
||||
2.5f
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
binding.tvLikeCount.text = "${item.likeCount}"
|
||||
|
@ -43,6 +56,7 @@ class CreatorCommunityAdapter(
|
|||
}
|
||||
|
||||
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) = ViewHolder(
|
||||
parent.context,
|
||||
ItemCreatorCommunityBinding.inflate(
|
||||
LayoutInflater.from(parent.context),
|
||||
parent,
|
||||
|
|
Loading…
Reference in New Issue