score:44
Well, it would be better to update the content of the activity, but if it's too complicated you can override the default animation with this method :
finish();
overridePendingTransition( 0, 0);
startActivity(getIntent());
overridePendingTransition( 0, 0);
score:1
do you have some views that may change their value/size based on values from your shared preferences? if yes, create a method that init the views and call that methon on onCreate() method and in onClick() method.
score:2
You can add the flag Intent.FLAG_ACTIVITY_NO_ANIMATION
(link) to your reOpen
intent to eleminate all animations. But as stated from the other answer better refresh the data inside you Activity
.
Source: stackoverflow.com
Related Query
- Refresh activity without re-opening it?
- eclipse metadata refresh without opening eclipse
- Android Studio - Run application without launcher activity
- Tycho and Eclipse: How to resolve OSGI dependencies to my own bundles at development time within Eclipse, without opening all of them in the IDE
- Opening various main.py files in Eclipse without creating a new project
- refresh a fragment from its parent activity
- Launcher Activity is opening twice in my new SDK
- send mail with PhoneGap without opening my mailbox
- Is there a way to develop OSGi bundles without opening or importing the dependent bundles in Eclipse?
- Compiling a debug version without opening the debug perspective?
- How do you create a custom project type (from my plugin) without opening Eclipse?
- Running a Web Service without opening Eclipse or any IDE
- How to navigate through a lot of files in Eclipse without opening them
- Google Play services activity recognition disconnects without any error
- Running plugins without opening Eclipse IDE
- My app crashes when opening tablayout activity
- Clicking on Widget isn't opening up new Activity
- How to run a test case without opening the browser window?
- Upgrade Eclipse without opening it
- Clicking a Button and Opening a new Activity
- My activity get closed without entering OnSaveInstanceState handle
- Android: using intent without extending activity
- HTTP Request without opening browser - ANDROID
- GWT + Eclipse : refresh without restarting server
- How open same app on android without opening new instance when app is in background
- Error opening activity after menu option click
- Eclipse debugger always blocks on ThreadPoolExecutor without any obvious exception, why?
- Best way to add Activity to an Android project in Eclipse?
- Can Eclipse refresh resources automatically?
- Eclipse: How do I refresh an entire workspace? F5 doesn't do it
More Query from same tag
- PyDev - why am I getting unresolved import for a module (file) in the same directory?
- How do you export a file SQLite db using Eclipse
- How to add web project module in existing java project in eclipse
- Eclipse Gradle Plugin: adding dependencies automatically like Maven
- Debug the code even in case of error PyDev
- How to add another activity (for example video activity) in fragment tabs?
- code analysis tools for starting on a new project
- Breakpoints Skipped in Xdebug with Eclipse for New Project
- Do I need to rebuild the whole project everytime I start Tomcat server?
- How can I write tests in one Eclipse project for classes from another Eclipse project?
- What exactly is e4 and what is its meaning if I want to write a new eclipse plugin?
- Play! Framework 2.2.0 : impossible to debug in Eclipse
- Tomcat refuses to deploy CSS files
- How to centralize the CVS server name for an Eclipse project-set (.psf)?
- java.lang.NoClassDefFoundError when trying to run JUnit 5 tests
- newboston Android development tutorial - displaying a list menu
- This code datasource configurarion in tomme is running without eclipse fine but when i run in eclipse then its giving error
- Git repo outside of Eclipse workspace
- Page not found - running JSP using tomcat from imported SVN project
- How to create the build using Eclipse 3.6
- Eclipse: How to create Quick-Assist for If-else to Switch
- How to use System enviroment Variables in Eclipse CDT
- Android: trouble updating Android SDK tools revision 22.3
- Who is the better for Android development ? Eclipse Helios or Eclipse Galileo?
- Undefined attribute name (ng-model) at Eclipse
- Using a global vector of structs
- eclipse : failed to load main-class attribute manifest
- How to add the ojdbc jar to my project and use it
- I cant run this program in eclipse but it works on JGRASP
- On save, can I automatically build an exploded war with maven in eclipse?