當前位置: 首頁>>代碼示例>>Java>>正文


Java QuickContactBadge類代碼示例

本文整理匯總了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;
}
 
開發者ID:treasure-lau,項目名稱:CSipSimple,代碼行數:18,代碼來源:MessageAdapter.java

示例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;
}
 
開發者ID:treasure-lau,項目名稱:CSipSimple,代碼行數:13,代碼來源:ConversationsAdapter.java

示例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;
}
 
開發者ID:treasure-lau,項目名稱:CSipSimple,代碼行數:12,代碼來源:CallLogListItemViews.java

示例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));
}
 
開發者ID:treasure-lau,項目名稱:CSipSimple,代碼行數:10,代碼來源:CallLogListItemViews.java


注:本文中的com.csipsimple.widgets.contactbadge.QuickContactBadge類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。