本文整理匯總了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));
}