// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/GeneralTextMessage.java
// public class GeneralTextMessage extends Message {
//     private String text;
// 
//     public void setText(String text) {
//         this.text = text;
//     }
// 
//     public String getText() {
//         return this.text;
//     }
// 
//     @Override
//     public MessageItem toMessageItem(Context context) {
//         return new MessageGeneralTextItem(this);
//     }
// }
// 
// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/MessageSource.java
// public enum MessageSource {
//     LOCAL_USER,
//     EXTERNAL_USER,
//     GENERAL
// }
// 
// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/messageItem/MessageItemType.java
// public enum MessageItemType {
//     INCOMING_MEDIA,
//     INCOMING_TEXT,
//     OUTGOING_MEDIA,
//     OUTGOING_TEXT,
//     SPINNER,
//     GENERAL_TEXT,
//     GENERAL_OPTIONS;
// 
//     public static final MessageItemType values[] = values();
// }
// 
// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/messageItem/MessageViewHolder.java
// public class MessageViewHolder extends RecyclerView.ViewHolder {
//     public ImageView avatar;
//     public TextView initials;
//     public TextView timestamp;
//     public ViewGroup avatarContainer;
//     public CustomSettings customSettings;
// 
//     public MessageViewHolder(View itemView, CustomSettings customSettings) {
//         super(itemView);
//         this.customSettings = customSettings;
//     }
// }


import it.slyce.messaging.message.GeneralTextMessage;
import it.slyce.messaging.message.MessageSource;
import it.slyce.messaging.message.messageItem.MessageItem;
import it.slyce.messaging.message.messageItem.MessageItemType;
import it.slyce.messaging.message.messageItem.MessageViewHolder;
package it.slyce.messaging.message.messageItem.general.generalText;


public class MessageGeneralTextItem extends MessageItem {
    public MessageGeneralTextItem(GeneralTextMessage message) {
        super(message);
    }

    @Override
    public void buildMessageItem(
            MessageViewHolder messageViewHolder) {
        MessageGeneralTextViewHolder viewHolder = (MessageGeneralTextViewHolder) messageViewHolder;
        GeneralTextMessage generalTextMessage = (GeneralTextMessage) message;
        viewHolder.messageTextView.setText(generalTextMessage.getText());
    }

    @Override
    public MessageItemType getMessageItemType() {
        return MessageItemType.GENERAL_TEXT;
    }

    @Override
    public MessageSource getMessageSource() {
// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/GeneralTextMessage.java
// public class GeneralTextMessage extends Message {
//     private String text;
// 
//     public void setText(String text) {
//         this.text = text;
//     }
// 
//     public String getText() {
//         return this.text;
//     }
// 
//     @Override
//     public MessageItem toMessageItem(Context context) {
//         return new MessageGeneralTextItem(this);
//     }
// }
// 
// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/MessageSource.java
// public enum MessageSource {
//     LOCAL_USER,
//     EXTERNAL_USER,
//     GENERAL
// }
// 
// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/messageItem/MessageItemType.java
// public enum MessageItemType {
//     INCOMING_MEDIA,
//     INCOMING_TEXT,
//     OUTGOING_MEDIA,
//     OUTGOING_TEXT,
//     SPINNER,
//     GENERAL_TEXT,
//     GENERAL_OPTIONS;
// 
//     public static final MessageItemType values[] = values();
// }
// 
// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/messageItem/MessageViewHolder.java
// public class MessageViewHolder extends RecyclerView.ViewHolder {
//     public ImageView avatar;
//     public TextView initials;
//     public TextView timestamp;
//     public ViewGroup avatarContainer;
//     public CustomSettings customSettings;
// 
//     public MessageViewHolder(View itemView, CustomSettings customSettings) {
//         super(itemView);
//         this.customSettings = customSettings;
//     }
// }


// Path: slyce-messaging/src/main/java/it/slyce/messaging/message/messageItem/general/generalText/MessageGeneralTextItem.java
import it.slyce.messaging.message.GeneralTextMessage;
import it.slyce.messaging.message.MessageSource;
import it.slyce.messaging.message.messageItem.MessageItem;
import it.slyce.messaging.message.messageItem.MessageItemType;
import it.slyce.messaging.message.messageItem.MessageViewHolder;

package it.slyce.messaging.message.messageItem.general.generalText;


public class MessageGeneralTextItem extends MessageItem {
    public MessageGeneralTextItem(GeneralTextMessage message) {
        super(message);
    }

    @Override
    public void buildMessageItem(
            MessageViewHolder messageViewHolder) {
        MessageGeneralTextViewHolder viewHolder = (MessageGeneralTextViewHolder) messageViewHolder;
        GeneralTextMessage generalTextMessage = (GeneralTextMessage) message;
        viewHolder.messageTextView.setText(generalTextMessage.getText());
    }

    @Override
    public MessageItemType getMessageItemType() {
        return MessageItemType.GENERAL_TEXT;
    }

    @Override
    public MessageSource getMessageSource() {
        return MessageSource.GENERAL;