I want to have a menu button that allows the user to reset the app. As I've read that I shouldn't call onCreate() manually, I use the following code instead:
Intent intent = getIntent();
finish();
startActivity(intent);
My problem is that this triggers an animation where the window disappears and appears again, which I don't want to happen. How can I get rid of that?
0 comments:
Post a Comment