ExamGecko
Question list
Search
Search

Related questions











Question 565 - H14-231_V1.0 discussion

Report
Export

When a developer is developing a smart home application, the Switch component will be used to represent the switch of some devices, and ON should be displayed on the ON status component, and 0FF should be displayed on the closed state component. You can use the following code to meet your needs:

Switch btnSwitch=

(Switch)findComponentByld(ResourceTable.

ld_btn_switch);

btnSwitch.setStateOffText('ON');

btnSwitch.setStateOnText('OFF');

A.
True
Answers
A.
True
B.
False
Answers
B.
False
Suggested answer: B
asked 18/09/2024
NEURONES TECHNOLOGIES
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first