Question: Android - Java In this Emulator you have fragment with blue background inside Activity ( yellow background ) . When the user click Submit button

 Android - Java In this Emulator you have fragment with blue

Android - Java

  • In this Emulator you have fragment with blue background inside Activity ( yellow background ) .
  • When the user click Submit button the name and the age which entered in fragment will appear in TextView (in Activity ) Like this :

Your Information from fragment1 is __________ and your age is ___________

In other words how to get data from fragment to activity ?

PS - You can work in groups

U 1:03 Menu Enter Your Name Name EnterAge Age SUBMIT Your information from Fragment1 is 30

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!