Answers for "how to refresh an activity in android without loosing the data"

6

refresh activity android

Activity.recreate(); //Trigger the onCreate method in the activity
Posted by: Guest on January-28-2021
1

How to refresh activity without intent in android

finish();
overridePendingTransition( 0, 0);
startActivity(getIntent());
overridePendingTransition( 0, 0);
Posted by: Guest on February-24-2021

Code answers related to "how to refresh an activity in android without loosing the data"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language