correctly bind actionbar in messagelist activity

This commit is contained in:
Moez Bhatti
2017-08-28 15:45:41 -07:00
parent 22489af4c3
commit f7aba7c5bd
9 changed files with 53 additions and 12 deletions
@@ -30,15 +30,7 @@ class ConversationAdapter(context: Context, data: OrderedRealmCollection<Convers
mContext.startActivity(intent)
}
var title = ""
conversation?.contacts?.forEachIndexed { index, recipient ->
title += recipient.address
if (index < conversation.contacts.size - 1) {
title += ", "
}
}
viewHolder.title.text = title
viewHolder.title.text = conversation?.getTitle()
viewHolder.snippet.text = conversation?.snippet
}
}