Which one of the following is a step you take in order to add preferences support to your application?

a. Make changes to the preferences using the Editor.
b. Use the android:Preferences attribute.
c. Locate the preferences in the android.support package.
d. Use the onSupport() callback method.

a. Make changes to the preferences using the Editor.
The following are the steps you must take to add preferences support to your application:

i. Retrieve an instance of a SharedPreferences object.
ii. Create a SharedPreferences.Editor to modify the preference content.

iii. Make changes to the preferences using the Editor.

iv. Commit your changes.

Computer Science & Information Technology

You might also like to view...

Mathematically, the ________ is calculated by taking the square root of the variance

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which predefined server-level role allows a user to create or alter any database?

A. security admin B. dbcreator C. database auditor D. sysroot

Computer Science & Information Technology