当前位置: 首页>>代码示例>>Java>>正文


Java ContactsSearchAdapter类代码示例

本文整理汇总了Java中com.csipsimple.utils.contacts.ContactsSearchAdapter的典型用法代码示例。如果您正苦于以下问题:Java ContactsSearchAdapter类的具体用法?Java ContactsSearchAdapter怎么用?Java ContactsSearchAdapter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ContactsSearchAdapter类属于com.csipsimple.utils.contacts包,在下文中一共展示了ContactsSearchAdapter类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onCreate

import com.csipsimple.utils.contacts.ContactsSearchAdapter; //导入依赖的package包/类
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    mDualPane = getResources().getBoolean(R.bool.use_dual_panes);
    digitFormater = new PhoneNumberFormattingTextWatcher();
    // Auto complete list in case of text
    autoCompleteAdapter = new ContactsSearchAdapter(getActivity());
    autoCompleteListItemListener = new OnAutoCompleteListItemClicked(autoCompleteAdapter);

    if(isDigit == null) {
        isDigit = !prefsWrapper.getPreferenceBooleanValue(SipConfigManager.START_WITH_TEXT_DIALER);
    }
    
    setHasOptionsMenu(true);
}
 
开发者ID:treasure-lau,项目名称:CSipSimple,代码行数:16,代码来源:DialerFragment.java

示例2: onAttachedToWindow

import com.csipsimple.utils.contacts.ContactsSearchAdapter; //导入依赖的package包/类
@Override
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();

        if(isInEditMode()) {
            // Don't bind cursor in this case
            return;
        }
        contactsAdapter = new ContactsSearchAdapter(getContext());
        completeList.setAdapter(contactsAdapter);
        completeList.setOnItemClickListener(this);

//        autoCompleteAdapter = new ContactsAutocompleteAdapter(getContext());
//        dialUser.setAdapter(autoCompleteAdapter);
    }
 
开发者ID:treasure-lau,项目名称:CSipSimple,代码行数:16,代码来源:EditSipUri.java

示例3: onCreate

import com.csipsimple.utils.contacts.ContactsSearchAdapter; //导入依赖的package包/类
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    autoCompleteAdapter = new ContactsSearchAdapter(getActivity());
}
 
开发者ID:treasure-lau,项目名称:CSipSimple,代码行数:6,代码来源:DialerAutocompleteDetailsFragment.java

示例4: OnAutoCompleteListItemClicked

import com.csipsimple.utils.contacts.ContactsSearchAdapter; //导入依赖的package包/类
/**
 * Instanciate with a ContactsSearchAdapter adapter to search in when a
 * contact entry is clicked
 * 
 * @param adapter the adapter to use
 */
public OnAutoCompleteListItemClicked(ContactsSearchAdapter adapter) {
    searchAdapter = adapter;
}
 
开发者ID:treasure-lau,项目名称:CSipSimple,代码行数:10,代码来源:DialerFragment.java


注:本文中的com.csipsimple.utils.contacts.ContactsSearchAdapter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。