How to set data for a ListView?

How to set data for a ListView?



A. Define in XML file
B. Use function setListAdapter()
C. Use function addView()
D. b or c
E. None of above


Answer: D


Learn More :