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.
查看答案
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. 错
The onCreate() method gets called when the database needs to be upgraded.
A. 对
B. 错
You add data to the ContentValues object using its putExtra() method.
A. 对
B. 错
To insert multiple rows into a table, you need to make repeat calls to the insert() method.
A. 对
B. 错