I am new to android development. Is there a way to extends class from another package? I am trying to get the shared preferences from another package, although I am able to access the shared preferences between classes within the same package. However, at different packages, I have no idea how I should do editer.commit() or edit the shared preferences that is in another package. Please help.
Share
try this code
to put a string to sharedpreference
to get a string from shared preference