
Câu hỏi ôn tập Mobile TH3456
Authored by Gia Hào Trương
Information Technology (IT)
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào được sử dụng để thiết lập một sự kiện onClick trên một Button?
setOnClickListener()
setClickListener()
registerClickListener()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xử lý sự kiện onClick trên một Button, chúng ta cần thực hiện những bước nào?
Thiết lập sự kiện onClick trên Button, và định nghĩa phương thức xử lý sự kiện
Chỉ cần thiết lập sự kiện onClick trên Button
Chỉ cần định nghĩa phương thức xử lý sự kiện
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào được sử dụng để thiết lập một sự kiện onTouch trên một View?
setOnTouchListener()
setTouchListener()
registerTouchListener()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi sử dụng sự kiện onTouch, các thông tin nào có thể được lấy từ đối tượng MotionEvent?
Vị trí điểm chạm
Loại sự kiện chạm (touch event)
Cả A và B đều đúng
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào được sử dụng để thiết lập một sự kiện onKey trên một View?
setOnKeyListener()
setKeyListener()
registerKeyListener()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi sử dụng sự kiện onKey, các thông tin nào có thể được lấy từ đối tượng KeyEvent?
Mã phím được bấm
Trạng thái phím (pressed, released, etc.)
Cả A và B đều đúng
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào được sử dụng để thiết lập một sự kiện onFocus trên một View?
setOnFocusChangeListener()
setFocusListener()
registerFocusListener()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?