I have my ProfileFragment class and another EditProfileFragment class where you as you can guess can edit your profile information like age, photo, sport which you like and gender. Next I want this EditProfileFragment to be visible in 1/3 of ProfileFragment like some kind of box which changes when you edit something in EditProfileFragment. So what do I need to create and use to transfer my information to this box? Something like on the photo below .
And second thing, I want to create the way to login/sign in in my app and also make possibilities to change Password, Name and E-mail, so if you are logged in via Facebook you can only change Name, if you logged in via created account you can change everything. Should I make 2 different classes and activate one of them where you are logged in? And how to check by what you are logged in ?
Sorry for my lack of knowledge but I'm new in this and wanna learn something for the feature.