Removed useless code

This commit is contained in:
Pierre HUBERT 2018-08-30 15:43:22 +02:00
parent 9cc46c1557
commit 0e1be1f43d

View File

@ -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);
}
/**