Ditto - I was also about to suggest this.
Base Preference class is quite complete, it handles drawing the title
and summary with proper fonts, and has an onClick() method.
Another way - instead of subclassing Preference, add a bit of code with
setOnPreferenceClickListener.
-- Kostya
30.07.2010 21:36, Mark Murphy пишет:
That being said, if you keep a roster of "things that might go 'boom'
in future releases" for your apps, add this to the list, since for all
we know they'll dump this feature in favor of some other
implementation (e.g., dedicated IntentPreference class). In fact, if
you wanted to be super-safe, implementing an IntentPreference class
may not be that difficult, and you then aren't dependent on an
undocumented feature.
--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en