Austin Huang
3 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/adapters/viewholder/directmessages/DirectItemViewHolder.java
|
|
@ -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); |
|
|
|