mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-21 14:17:29 +00:00
fix #1528 again
This commit is contained in:
parent
1229992a46
commit
468e09de75
@ -128,7 +128,7 @@ public abstract class DirectItemViewHolder extends RecyclerView.ViewHolder imple
|
||||
|
||||
private void bindBase(@NonNull final DirectItem item, final MessageDirection messageDirection, final int position) {
|
||||
final FrameLayout.LayoutParams containerLayoutParams = (FrameLayout.LayoutParams) binding.container.getLayoutParams();
|
||||
final DirectItemType itemType = item.getItemType();
|
||||
final DirectItemType itemType = item.getItemType() == null ? DirectItemType.UNKNOWN : item.getItemType();
|
||||
setMessageDirectionGravity(messageDirection, containerLayoutParams);
|
||||
setGroupUserDetails(item, messageDirection);
|
||||
setBackground(messageDirection);
|
||||
|
Loading…
Reference in New Issue
Block a user