nerdexam
IBM

LOT-410 · Question #24

Louise is designing a mobile workflow application. Next to a Label control displaying "Approved?" she added a Toggle Switch control with a leftLabel set to "Yes" and the default rightLabel set to…

The correct answer is D. onStateChanged. See the full explanation below for the reasoning.

Question

Louise is designing a mobile workflow application. Next to a Label control displaying "Approved?" she added a Toggle Switch control with a leftLabel set to "Yes" and the default rightLabel set to "No". Which event should Louise now code to test for when the mobile application user swipes the Toggle Switch from "No" to "Yes"?

Options

  • AonChange
  • BonToggleLeft
  • ConToggleRight
  • DonStateChanged

How the community answered

(58 responses)
  • A
    7% (4)
  • B
    17% (10)
  • C
    3% (2)
  • D
    72% (42)

Community Discussion

No community discussion yet for this question.

Full LOT-410 Practice