| onFocusChanged() | เป็น method ที่ใช้สำหรับการ overridde โดย method นี้จะถูกเรียกใช้เมื่อ view ถูกเปลี่ยนแปลง focus |
|---|
method:onFocusChanged ( boolean gainFocus, int direction, Rect previouslyFocusedRect )
return type:void
content:เป็น method ที่ใช้สำหรับการ overridde โดย method นี้จะถูกเรียกใช้เมื่อ view ถูกเปลี่ยนแปลง focus
example:public class BambooView extends View { protected void onFocusChanged ( boolean gainFocus, int direction, Rect previouslyFocusedRect ) { } }