Sunday, December 22, 2013

[android-developers] onBuildHeaders(List
target) - is supplied target always empty ?

Trying to figure out the preferences headers and namely what the [`onBuildHeaders(List<Header> target)`][1] does exactly. So what is the `target` argument supplied to the method ? Is it always an empty list supplied to me to fill it up - even when I call [`invalidateHeaders()`][2] (and all other possible code paths) ?


  [1]: http://developer.android.com/reference/android/preference/PreferenceActivity.html#onBuildHeaders%28java.util.List%3Candroid.preference.PreferenceActivity.Header%3E%29
  [2]: http://developer.android.com/reference/android/preference/PreferenceActivity.html#invalidateHeaders%28%29

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate