android.widget.TextView.setText()

final void setText(int resid)
final void setText(char[] text, int start, int len)
                 Sets the TextView to display the specified slice of the specified char array.
final void setText(int resid, TextView.BufferType type)
final void setText(CharSequence text)
                 Sets the string value of the TextView.
        void setText(CharSequence text, TextView.BufferType type)
                 Sets the text that this TextView is to display (seesetText(CharSequence)) and also sets whether it is stored
                 in a styleable/spannable buffer and whether it is editable.

你可能感兴趣的:(Android)