本文整理汇总了Java中com.vanniktech.emoji.EmojiTextView类的典型用法代码示例。如果您正苦于以下问题:Java EmojiTextView类的具体用法?Java EmojiTextView怎么用?Java EmojiTextView使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EmojiTextView类属于com.vanniktech.emoji包,在下文中一共展示了EmojiTextView类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DialogViewHolder
import com.vanniktech.emoji.EmojiTextView; //导入依赖的package包/类
public DialogViewHolder(View itemView) {
super(itemView);
root = (ViewGroup) itemView.findViewById(R.id.dialogRootLayout);
container = (ViewGroup) itemView.findViewById(R.id.dialogContainer);
tvName = (TextView) itemView.findViewById(R.id.dialogName);
tvDate = (TextView) itemView.findViewById(R.id.dialogDate);
tvLastMessage = (EmojiTextView) itemView.findViewById(R.id.dialogLastMessage);
tvBubble = (TextView) itemView.findViewById(R.id.dialogUnreadBubble);
ivLastMessageUser = (ImageView) itemView.findViewById(R.id.dialogLastMessageUserAvatar);
ivAvatar = (ImageView) itemView.findViewById(R.id.dialogAvatar);
dividerContainer = (ViewGroup) itemView.findViewById(R.id.dialogDividerContainer);
divider = itemView.findViewById(R.id.dialogDivider);
}
示例2: IncomingTextMessageViewHolder
import com.vanniktech.emoji.EmojiTextView; //导入依赖的package包/类
public IncomingTextMessageViewHolder(View itemView) {
super(itemView);
bubble = (ViewGroup) itemView.findViewById(R.id.bubble);
text = (EmojiTextView) itemView.findViewById(R.id.messageText);
}
示例3: OutcomingTextMessageViewHolder
import com.vanniktech.emoji.EmojiTextView; //导入依赖的package包/类
public OutcomingTextMessageViewHolder(View itemView) {
super(itemView);
bubble = (ViewGroup) itemView.findViewById(R.id.bubble);
text = (EmojiTextView) itemView.findViewById(R.id.messageText);
}
示例4: setComment
import com.vanniktech.emoji.EmojiTextView; //导入依赖的package包/类
public void setComment(String comment) {
EmojiTextView emojicon_text_view = (EmojiTextView) mView.findViewById(R.id.emojicon_text_view);
emojicon_text_view.setText(comment);
emojicon_text_view.setTypeface(customTypeface);
}
示例5: ChatViewHolder
import com.vanniktech.emoji.EmojiTextView; //导入依赖的package包/类
ChatViewHolder(final View view) {
super(view);
textView = (EmojiTextView) view.findViewById(R.id.adapter_chat_text_view);
}