نمایش نتایج 1 تا 2 از 2

نام تاپیک: pass the values from one activity to previous activity

  1. #1

    pass the values from one activity to previous activity

    Can any one tell me how to pass the value from one screen to its previous screen. Consider the case.i m having two screen first screen with one Textview and button and the second activity have one edittext and button.

    If i click the first button then it has to move to second activity and here user has to type something in the textbox. If he press the button from the second screen then the values from the textbox should move to the first activity and that should be displayed in the first activity textview.

  2. #2

    نقل قول: pass the values from one activity to previous activity

    شما می توانید از startActivityForResult استفاده کنید و پس از آن از طریق onActivityResult نتیجه را دریافت کنید.

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •