getPreferenceAdapterPosition

Returns the adapter position of the first Preference with the specified key.

Return

Adapter position of the Preference or NO_POSITION if not found

Parameters

key

Key of Preference to find


Returns the adapter position of the specified Preference object

Return

Adapter position of the Preference or NO_POSITION if not found

Parameters

preference

Preference object to find