I have an activity which displays a table from the database. When I press power button to turn off the screen, then pressing power button again to resume the activity, the table loads again and does what it did on create. Why is my activity running again when I resume it?
I even put onResume() and left it blank/default.
@Override
protected void onResume() {
super.onResume();
}