Package io.rong.imkit.usermanage.adapter

## Class GroupListAdapter

- All Implemented Interfaces:

      public class GroupListAdapter

  群组列表适配器

  Since:

    5.12.2

  Author:

    rongcloud

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GroupListAdapter()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `GroupListAdapter.GroupListViewHolder` | `onCreateViewHolder(ViewGroup parent, int viewType)` |
    `void` | `onBindViewHolder(GroupListAdapter.GroupListViewHolder holder, int position)` |
    `int` | `getItemCount()` |
    `void` | `setData(List<GroupInfo> newData)` |
    `void` | `)>setOnItemClickListener(OnActionClickListener<GroupInfo> listener)` |
    `void` | `)>setOnItemLongClickListener(OnActionClickListener<GroupInfo> listener)` |
    `void` | `setHighlightedText(String text)` | 设置高亮文本

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

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

- - ### Constructor Detail

    - #### GroupListAdapter

          GroupListAdapter()

  - ### Method Detail

    - #### onCreateViewHolder

           GroupListAdapter.GroupListViewHolder onCreateViewHolder(ViewGroup parent, int viewType)

    - #### onBindViewHolder

           void onBindViewHolder(GroupListAdapter.GroupListViewHolder holder, int position)

    - #### getItemCount

           int getItemCount()

    - #### setData

           void setData(List<GroupInfo> newData)

    - #### setOnItemClickListener

           void )>setOnItemClickListener(OnActionClickListener<GroupInfo> listener)

    - #### setOnItemLongClickListener

           void )>setOnItemLongClickListener(OnActionClickListener<GroupInfo> listener)

    - #### setHighlightedText

           void setHighlightedText(String text)

      设置高亮文本

      Parameters:
        `text` - 高亮文本