From 18248dc4f735aaa76843a34ae63488a835d02cad Mon Sep 17 00:00:00 2001 From: Kevin Meyer Date: Wed, 3 Sep 2014 17:15:18 +0200 Subject: [PATCH] fixing bug: article list scrolling back to top after reading article. --- .../main/java/fr/gaulupeau/apps/Poche/ListArticles.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/java/fr/gaulupeau/apps/Poche/ListArticles.java b/app/src/main/java/fr/gaulupeau/apps/Poche/ListArticles.java index 308690a..18832fe 100644 --- a/app/src/main/java/fr/gaulupeau/apps/Poche/ListArticles.java +++ b/app/src/main/java/fr/gaulupeau/apps/Poche/ListArticles.java @@ -28,12 +28,7 @@ public class ListArticles extends BaseActionBarActivity { setupDB(); setupList(false); } - - public void onResume() { - super.onResume(); - setupList(false); - } - + public void onDestroy() { super.onDestroy(); database.close();