Put in tv_path.Text when goBack()
This commit is contained in:
@ -28,6 +28,10 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void goBack (View v) {
|
public void goBack (View v) {
|
||||||
|
Intent intent = new Intent();
|
||||||
|
intent.putExtra("path", tvPath.getText());
|
||||||
|
setResult(RESULT_OK, intent);
|
||||||
|
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,10 @@ public class SecondActivity extends AppCompatActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void goBack (View v) {
|
public void goBack (View v) {
|
||||||
|
Intent intent = new Intent();
|
||||||
|
intent.putExtra("path", tvPath.getText());
|
||||||
|
setResult(RESULT_OK, intent);
|
||||||
|
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,10 @@ public class ThirdActivity extends AppCompatActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void goBack (View v) {
|
public void goBack (View v) {
|
||||||
|
Intent intent = new Intent();
|
||||||
|
intent.putExtra("path", tvPath.getText());
|
||||||
|
setResult(RESULT_OK, intent);
|
||||||
|
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user