use of im.actor.sdk.controllers.conversation.messages.content.preprocessor.PreprocessedTextData in project actor-platform by actorapp.
the class TextHolder method bindData.
@Override
protected void bindData(final Message message, long readDate, long receiveDate, boolean isUpdated, PreprocessedData preprocessedData) {
PreprocessedTextData textData = (PreprocessedTextData) preprocessedData;
Spannable reactions = preprocessedData.getReactionsSpannable();
CharSequence text;
if (textData.getSpannableString() != null) {
text = textData.getSpannableString();
} else {
text = textData.getText();
}
bindRawText(text, readDate, receiveDate, reactions, message, false);
}
Aggregations