| append ( text, start, end ) | ใช้กำหนดข้อความลงไปใน Object TextView โดยเป็นการ แทรกข้อความลงไปในข้อความเดิม |
|---|
method:append ( CharSequence text, int start, int end )
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 .com" ); text.append ( "To BambooLabCode", 8, 16 ); setContentView ( text ); } }