I am going through the android developer training material here - http://developer.android.com/training/basics/network-ops/index.html. I downloaded the sample code NetworkUsage.zip and imported it to eclipse. The code has error in SettingsActivity.java when I open it, "The method onSharedPreferenceChanged(SharedPreferences, String) of type SettingsActivity must override a superclass method".
As far as I can see it is correctly defining the method and implementing the interface, why is there an error? From the android api I can see that this interface still exists and has not be deprecated or anything.
Thanks!