I know there are similar questions but I can not solve my doubt. It turns out that I want to do an activity in Android Studio that is welcome, where I take certain user data, such as your name, age, nationality, etc. The idea is to take the name in a fragment, give it a following, load the fragment of age and read the age, and so on with all the other data. The fragments would all be in the same activity, what I want is that once the fragements run ends, we can have all the data available to save them as Shared Preferences. What are my options? Thank you very much .-