I would like to know how to use this method addPreferenceFromResource()
as this is now deprecated in Preference Activity.
I went through these links,
and also through the official documentation and other links, but I could not understand this as I am only a beginner.
Can anyone just provide me the source code of a simple preference like checkbox, it would be helpful to understand as I am only a beginner.
I do not need the explanation of the code, I would need only the source code of the XML as well as the Java Class.
I know this is some kind of home-work like thing, at-least some links would also do. Anything you are comfortable with.