don't overlap readmarker with "show more messages"
This commit is contained in:
parent
f4ba34a4e6
commit
081d73c280
1 changed files with 3 additions and 6 deletions
|
@ -839,13 +839,10 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie
|
|||
return view;
|
||||
} else if (type == STATUS) {
|
||||
if ("LOAD_MORE".equals(message.getBody())) {
|
||||
viewHolder.status_message.setVisibility(View.GONE);
|
||||
viewHolder.contact_picture.setVisibility(View.GONE);
|
||||
viewHolder.load_more_messages.setVisibility(View.VISIBLE);
|
||||
viewHolder.load_more_messages.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
loadMoreMessages(message.getConversation());
|
||||
}
|
||||
});
|
||||
viewHolder.load_more_messages.setOnClickListener(v -> loadMoreMessages(message.getConversation()));
|
||||
} else {
|
||||
viewHolder.status_message.setVisibility(View.VISIBLE);
|
||||
viewHolder.load_more_messages.setVisibility(View.GONE);
|
||||
|
|
Reference in a new issue