本文整理汇总了Java中com.csipsimple.widgets.contactbadge.QuickContactBadge类的典型用法代码示例。如果您正苦于以下问题:Java QuickContactBadge类的具体用法?Java QuickContactBadge怎么用?Java QuickContactBadge使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
QuickContactBadge类属于com.csipsimple.widgets.contactbadge包,在下文中一共展示了QuickContactBadge类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: newView
import com.csipsimple.widgets.contactbadge.QuickContactBadge; //导入依赖的package包/类
@Override
public View newView(Context context, Cursor cursor, ViewGroup parent) {
View view = super.newView(context, cursor, parent);
MessageListItemViews tagView = new MessageListItemViews();
tagView.containterBlock = (LinearLayout) view.findViewById(R.id.message_block);
tagView.contentView = (TextView) view.findViewById(R.id.text_view);
tagView.errorView = (TextView) view.findViewById(R.id.error_view);
tagView.dateView = (TextView) view.findViewById(R.id.date_view);
tagView.quickContactView = (QuickContactBadge) view.findViewById(R.id.quick_contact_photo);
tagView.deliveredIndicator = (ImageView) view.findViewById(R.id.delivered_indicator);
view.setTag(tagView);
return view;
}
示例2: newView
import com.csipsimple.widgets.contactbadge.QuickContactBadge; //导入依赖的package包/类
@Override
public View newView(Context context, Cursor cursor, ViewGroup parent) {
View view = super.newView(context, cursor, parent);
ConversationListItemViews tagView = new ConversationListItemViews();
tagView.fromView = (TextView) view.findViewById(R.id.from);
tagView.dateView = (TextView) view.findViewById(R.id.date);
tagView.quickContactView = (QuickContactBadge) view.findViewById(R.id.quick_contact_photo);
view.setTag(tagView);
//view.setOnClickListener(mPrimaryActionListener);
return view;
}
示例3: CallLogListItemViews
import com.csipsimple.widgets.contactbadge.QuickContactBadge; //导入依赖的package包/类
private CallLogListItemViews(QuickContactBadge quickContactView, View primaryActionView,
ImageView secondaryActionView, View dividerView,
PhoneCallDetailsViews phoneCallDetailsViews,
View bottomDivider) {
this.quickContactView = quickContactView;
this.primaryActionView = primaryActionView;
this.secondaryActionView = secondaryActionView;
this.dividerView = dividerView;
this.phoneCallDetailsViews = phoneCallDetailsViews;
this.bottomDivider = bottomDivider;
}
示例4: fromView
import com.csipsimple.widgets.contactbadge.QuickContactBadge; //导入依赖的package包/类
public static CallLogListItemViews fromView(View view) {
return new CallLogListItemViews(
(QuickContactBadge) view.findViewById(R.id.quick_contact_photo),
view.findViewById(R.id.primary_action_view),
(ImageView) view.findViewById(R.id.secondary_action_icon),
view.findViewById(R.id.divider),
PhoneCallDetailsViews.fromView(view),
view.findViewById(R.id.call_log_divider));
}