题目内容

How can you react to click events on an item of a ListView?

A. l create and associate to the ListView an object implementing the AdapterView.OnltemClickListener interface.
B. ln the XMLlayout file l set the "onClick" property of the ListView to the name of the method to call when an item is clicked.
C. null-c
D. null-d

查看答案
更多问题

It's possible to add music to the output audio flow during a phone call.

A. 对
B. 错

An adapter acts as a bridge between the data source and the list view.

A. 对
B. 错

If the fragment code contains all that you need to control its layout, it greatly increases the chances that you'll be able to reuse it elsewhere in the app.

A. 对
B. 错

The fragment implements the onCreateView() method, which gets called each time Android needs the fragment’s layout, and it’s where you say which layout the fragment uses.

A. 对
B. 错

答案查题题库