Self-Review Exercises
8.1 Fill in the blanks in each of the following statements:
a) SQLite database query results are managed via a(n) __________ (package android.database).
b) To get a database operation’s results in the GUI thread, you use a(n) __________ (package android.os) to perform the operation in one thread and receive the results in the GUI thread.
c) Fragment method __________ returns the Bundle of arguments to the Fragment.
d) The Cursor returned by method query contains all the table rows that match the method’s arguments—the so-called __________.
8.2 State whether each of the following is true or false. If false, explain why.
a) It’s good practice to release resources like database connections when they are not being used so that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access