# SideBar

public class SideBar

右侧的字母索引View

## Constructors

SideBar
Link copied to clipboard
public void SideBar(Context context, AttributeSet attrs, int defStyleAttr)
public void SideBar(Context context, AttributeSet attrs)
public void SideBar(Context context)

## Types

OnTouchingLetterChangedListener
Link copied to clipboard
public interface OnTouchingLetterChangedListener

## Properties

DEFAULT_B
Link copied to clipboard
public final static Array<String> DEFAULT_B

## Functions

dispatchTouchEvent
Link copied to clipboard
public boolean dispatchTouchEvent(MotionEvent event)
setLetters
Link copied to clipboard
public void setLetters(Array<String> letters)
允许从外部设置字母数组
setOnTouchingLetterChangedListener
Link copied to clipboard
public void setOnTouchingLetterChangedListener(SideBar.OnTouchingLetterChangedListener onTouchingLetterChangedListener)
向外松开的方法
setTextView
Link copied to clipboard
public void setTextView(TextView mTextDialog)
为 SideBar 显示字母的 TextView