diff --git a/app/build.gradle b/app/build.gradle index d30a71c..878bd9e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { diff --git a/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/UserProfileActivity.kt b/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/UserProfileActivity.kt index 5fa33fd..4a3bbd1 100644 --- a/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/UserProfileActivity.kt +++ b/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/UserProfileActivity.kt @@ -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, diff --git a/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/creator_community/CreatorCommunityAdapter.kt b/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/creator_community/CreatorCommunityAdapter.kt index 1a8c872..c9d50bd 100644 --- a/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/creator_community/CreatorCommunityAdapter.kt +++ b/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/creator_community/CreatorCommunityAdapter.kt @@ -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,