Package io.rong.imkit.widget

## Class SideBar

- All Implemented Interfaces:

      public class SideBar

  右侧的字母索引View

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public interface` | `SideBar.OnTouchingLetterChangedListener` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static Array<String>` | `DEFAULT_B` |

  - ### Constructor Summary

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

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `setTextView(TextView mTextDialog)` | 为 SideBar 显示字母的 TextView
    `boolean` | `dispatchTouchEvent(MotionEvent event)` |
    `void` | `setLetters(Array<String> letters)` | 允许从外部设置字母数组
    `void` | `setOnTouchingLetterChangedListener(SideBar.OnTouchingLetterChangedListener onTouchingLetterChangedListener)` | 向外松开的方法

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

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

- - ### Constructor Detail

    - #### SideBar

          SideBar(Context context, AttributeSet attrs, int defStyleAttr)

    - #### SideBar

          SideBar(Context context, AttributeSet attrs)

    - #### SideBar

          SideBar(Context context)

  - ### Method Detail

    - #### setTextView

           void setTextView(TextView mTextDialog)

      为 SideBar 显示字母的 TextView

      Parameters:
        `mTextDialog` - TextView

    - #### dispatchTouchEvent

           boolean dispatchTouchEvent(MotionEvent event)

    - #### setLetters

           void setLetters(Array<String> letters)

      允许从外部设置字母数组

      Parameters:
        `letters` - 字母数组

    - #### setOnTouchingLetterChangedListener

           void setOnTouchingLetterChangedListener(SideBar.OnTouchingLetterChangedListener onTouchingLetterChangedListener)

      向外松开的方法

      Parameters:
        `onTouchingLetterChangedListener` - OnTouchingLetterChangedListener