[Modify]金币明细功能修改
This commit is contained in:
@@ -110,6 +110,38 @@ class GoldDetailActivity : BaseViewBindingActivity<ActivityGoldDetailBinding>(),
|
||||
val settlementList: HallMemberGoldFlowTotalInfo? =
|
||||
settlementList?.get(mGoldRoomAdapter.data[position].hallId)
|
||||
mGoldDetailAdapter.setNewData(settlementList?.hallMember)
|
||||
val text = SpannableBuilder()
|
||||
.append(
|
||||
getString(R.string.room_diamond_message),
|
||||
ForegroundColorSpan(
|
||||
ContextCompat.getColor(
|
||||
context,
|
||||
R.color.color_1F1A4E
|
||||
)
|
||||
)
|
||||
)
|
||||
.append(
|
||||
getString(
|
||||
R.string.diamond_string,
|
||||
(settlementList?.total ?: 0).toString()
|
||||
),
|
||||
ForegroundColorSpan(
|
||||
ContextCompat.getColor(
|
||||
context,
|
||||
R.color.color_DE9F0C
|
||||
)
|
||||
)
|
||||
)
|
||||
.append(
|
||||
getString(R.string.diamond_name),
|
||||
ForegroundColorSpan(
|
||||
ContextCompat.getColor(
|
||||
context,
|
||||
R.color.color_1F1A4E
|
||||
)
|
||||
)
|
||||
)
|
||||
binding.tvBottomMessage.text = text.build()
|
||||
}
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user