Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- when (mData?.get(position)?.status) {
- "1" -> {
- holder.control.visibility = View.GONE
- }
- else -> {
- holder.control.visibility = View.VISIBLE
- if (mData?.get(position)?.idApprove.equals(GlobalApp.getInstance().profile?.uid)) {
- holder.btn_guarantee.visibility = View.VISIBLE
- } else {
- holder.btn_guarantee.visibility = View.GONE
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement