mirror of
https://github.com/moparisthebest/android-app
synced 2024-11-15 05:15:04 -05:00
fixing bug: article list scrolling back to top after reading article.
This commit is contained in:
parent
0a05cf82c4
commit
18248dc4f7
@ -28,12 +28,7 @@ public class ListArticles extends BaseActionBarActivity {
|
|||||||
setupDB();
|
setupDB();
|
||||||
setupList(false);
|
setupList(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onResume() {
|
|
||||||
super.onResume();
|
|
||||||
setupList(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
database.close();
|
database.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user