You can Simply use
finish();
startActivity(getIntent());
to refresh an Activity
from within itself.
More Related Contents:
- start an activity after button click
- Android app crashes by switching the activity
- Activity restart on rotation Android
- How do I create a transparent Activity on Android?
- How to stop EditText from gaining focus when an activity starts in Android?
- Communicating between a fragment and an activity – best practices
- How do I disable orientation change on Android?
- How to set ringtone in Android from my activity?
- How do I pass an object from one activity to another on Android? [duplicate]
- Soft keyboard open and close listener in an activity in Android
- How to bring an activity to foreground (top of stack)?
- Error while Running Android Application – Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it
- How to start/ launch application at boot time Android
- Android : Call activity of another application
- Using ResultReceiver in Android
- Add button to a layout programmatically
- “Failure Delivering Result ” – onActivityForResult
- What are the differences between activity and fragment?
- converting activity into fragment
- Espresso – How can I check if an activity is launched after performing a certain action?
- How to call methods of a Service from activity?
- Trying to UNINSTALL_SHORTCUT but shortcut won’t go away
- App always starts fresh from root activity instead of resuming background state (Known Bug)
- What is the meaning of android.intent.action.MAIN?
- Using an Android library project Activity within another project
- how to use getListView() in Activity?
- Why does FLAG_ACTIVITY_CLEAR_TOP not work?
- Android: onSaveInstanceState not being called from activity
- how to know the calling activity in android
- Android error “unable to find explicit activity class”