Package io.rong.imkit.usermanage.component

## Class ContactListComponent

- All Implemented Interfaces:

      public class ContactListComponent

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ContactListComponent(Context context)` |
    `ContactListComponent(Context context, AttributeSet attrs)` |
    `ContactListComponent(Context context, AttributeSet attrs, int defStyleAttr)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `setContactList(List<ContactModel> data)` | 设置联系人列表
    `void` | `addHeaderView(View view)` |
    `void` | `addFootView(View view)` |
    `void` | `setEnableLoadMore(boolean isEnable)` |
    `void` | `setOnPageDataLoader(OnPagedDataLoader onPageLoader)` | 设置分页数据加载器
    `void` | `)>setOnItemClickListener(OnActionClickListener<ContactModel> listener)` | 设置联系人列表点击事件监听器
    `void` | `)>setOnItemRemoveClickListener(OnActionClickListener<ContactModel> listener)` | 设置联系人列表移除按钮点击事件监听器
    `void` | `setShowItemRemoveButton(boolean isShow)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ContactListComponent

          ContactListComponent(Context context)

    - #### ContactListComponent

          ContactListComponent(Context context, AttributeSet attrs)

    - #### ContactListComponent

          ContactListComponent(Context context, AttributeSet attrs, int defStyleAttr)

  - ### Method Detail

    - #### setContactList

           void setContactList(List<ContactModel> data)

      设置联系人列表

      Parameters:
        `data` - 联系人列表数据

    - #### addHeaderView

           void addHeaderView(View view)

    - #### addFootView

           void addFootView(View view)

    - #### setEnableLoadMore

           void setEnableLoadMore(boolean isEnable)

    - #### setOnPageDataLoader

           void setOnPageDataLoader(OnPagedDataLoader onPageLoader)

      设置分页数据加载器

      Parameters:
        `onPageLoader` - 分页数据加载器

    - #### setOnItemClickListener

           void )>setOnItemClickListener(OnActionClickListener<ContactModel> listener)

      设置联系人列表点击事件监听器

      Parameters:
        `listener` - OnActionClickListener

    - #### setOnItemRemoveClickListener

           void )>setOnItemRemoveClickListener(OnActionClickListener<ContactModel> listener)

      设置联系人列表移除按钮点击事件监听器

      Parameters:
        `listener` - OnActionClickListener

    - #### setShowItemRemoveButton

           void setShowItemRemoveButton(boolean isShow)