Fix #4 correct chat bubbles size by requesting relayout

This commit is contained in:
Paul Schaub 2019-09-01 02:01:05 +02:00
parent 827581c036
commit 93d8afc165
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class ChatRecyclerViewAdapter extends RecyclerView.Adapter<ChatRecyclerVi
holder.body.setBackgroundResource(background.getOut());
}
holder.body.setText(message.getBody());
holder.itemView.invalidate();
holder.body.requestLayout();
}
@Override