android中好多View的setText()方法中的参数类型为CharSequence,一直没有去细看
今天查看文档后,原来CharSequence是个接口,它的子类有:
AlteredCharSequence,
CharBuffer,
Editable,
GetChars,
Spannable,
SpannableString,
SpannableStringBuilder,
android中好多View的setText()方法中的参数类型为CharSequence,一直没有去细看
今天查看文档后,原来CharSequence是个接口,它的子类有: