| append ( text ) | ใช้กำหนดข้อความลงไปใน Object TextView โดยเป็นการ ต่อข้อความเพิ่มจากของเดิมที่มีอยู่ |
|---|
method:append ( CharSequence text )
return type:void
content:ใช้กำหนดข้อความลงไปใน Object TextView โดยเป็นการ ต่อข้อความเพิ่มจากของเดิมที่มีอยู่
example:public class AndroidBamboo extends Activity { public void onCreate( Bundle savedInstanceState ) { super.onCreate ( savedInstanceState ); TextView text = new TextView ( this ); text.setText ( "WelCome To " ); text.append ( "BambooLabCode.com" ); setContentView ( text ); } }