feat: 메인 라이브
- 최근 종료한 라이브 - 라이브 아이콘 제거 - 커뮤니티 - 이미지 사이즈 수정 (53.3 -> 64)
This commit is contained in:
@@ -25,6 +25,7 @@ import coil.load
|
||||
import coil.transform.BlurTransformation
|
||||
import coil.transform.CircleCropTransformation
|
||||
import coil.transform.RoundedCornersTransformation
|
||||
import coil.transform.Transformation
|
||||
import kr.co.vividnext.sodalive.R
|
||||
import kr.co.vividnext.sodalive.audio_content.AudioContentActivity
|
||||
import kr.co.vividnext.sodalive.audio_content.AudioContentAdapter
|
||||
@@ -912,10 +913,13 @@ class UserProfileActivity : BaseActivity<ActivityUserProfileBinding>(
|
||||
layout.ivPostImage.loadUrl(item.imageUrl) {
|
||||
crossfade(true)
|
||||
placeholder(R.drawable.ic_place_holder)
|
||||
transformations(RoundedCornersTransformation(4.7f.dpToPx()))
|
||||
|
||||
val transformationList = mutableListOf<Transformation>(
|
||||
RoundedCornersTransformation(12f.dpToPx())
|
||||
)
|
||||
|
||||
if (!item.existOrdered && item.price > 0) {
|
||||
transformations(
|
||||
transformationList.add(
|
||||
BlurTransformation(
|
||||
this@UserProfileActivity,
|
||||
25f,
|
||||
@@ -923,6 +927,7 @@ class UserProfileActivity : BaseActivity<ActivityUserProfileBinding>(
|
||||
)
|
||||
)
|
||||
}
|
||||
transformations(transformationList)
|
||||
}
|
||||
|
||||
layout.tvLikeCount.text = "${item.likeCount}"
|
||||
|
||||
@@ -7,6 +7,7 @@ import androidx.recyclerview.widget.RecyclerView
|
||||
import coil.transform.BlurTransformation
|
||||
import coil.transform.CircleCropTransformation
|
||||
import coil.transform.RoundedCornersTransformation
|
||||
import coil.transform.Transformation
|
||||
import kr.co.vividnext.sodalive.R
|
||||
import kr.co.vividnext.sodalive.databinding.ItemCreatorCommunityBinding
|
||||
import kr.co.vividnext.sodalive.extensions.dpToPx
|
||||
@@ -36,10 +37,12 @@ class CreatorCommunityAdapter(
|
||||
binding.ivPostImage.loadUrl(item.imageUrl) {
|
||||
crossfade(true)
|
||||
placeholder(R.drawable.ic_place_holder)
|
||||
transformations(RoundedCornersTransformation(4.7f.dpToPx()))
|
||||
val transformationList = mutableListOf<Transformation>(
|
||||
RoundedCornersTransformation(12f.dpToPx())
|
||||
)
|
||||
|
||||
if (!item.existOrdered && item.price > 0) {
|
||||
transformations(
|
||||
transformationList.add(
|
||||
BlurTransformation(
|
||||
context,
|
||||
25f,
|
||||
@@ -47,6 +50,7 @@ class CreatorCommunityAdapter(
|
||||
)
|
||||
)
|
||||
}
|
||||
transformations(transformationList)
|
||||
}
|
||||
|
||||
binding.tvLikeCount.text = "${item.likeCount}"
|
||||
|
||||
@@ -73,8 +73,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_post_image"
|
||||
android:layout_width="53.3dp"
|
||||
android:layout_height="53.3dp"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="64dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
@@ -27,13 +27,6 @@
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<!-- LIVE 배지 -->
|
||||
<ImageView
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="18dp"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/img_live" />
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user