Kizspy | Question: 37
(Choose 1 answer)
Which of the following is NOT true about fragments?
A. A fragment has its own lifecycle and receives its own input events.
B. It is not possible to remove a fragment while the activity is running.
C. A fragment is defined in a Kotlin class.
D. A fragment's UI is defined in an XML layout file.