mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-12-26 13:38:59 +00:00
Removed useless code
This commit is contained in:
parent
9cc46c1557
commit
0e1be1f43d
@ -119,15 +119,7 @@ public class ConversationMessageAdapter extends RecyclerView.Adapter {
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int position) {
|
||||
switch (viewHolder.getItemViewType()){
|
||||
case VIEW_TYPE_MESSAGE_SENT:
|
||||
((SentMessageHolder) viewHolder).bind(position);
|
||||
break;
|
||||
|
||||
case VIEW_TYPE_MESSAGE_RECEIVED:
|
||||
((ReceivedMessageHolder) viewHolder).bind(position);
|
||||
break;
|
||||
}
|
||||
((BaseMessageHolder) viewHolder).bind(position);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user