aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2018-04-25 11:25:27 +0200
committermarcinzelent <zelent.marcin@gmail.com>2018-04-25 11:25:27 +0200
commit3812f6ccf9d5796f25f81aeea942c25b58296d01 (patch)
tree29980d6d0fe24b8c4723aa14279a91919837ba3b /app/src/main/java/org/marcinzelent/liberavem/MyObservationsFragment.java
parente2f49fe23b2ae1a910ab7015167e5ed9a5e4988a (diff)
Fixed crash on reload of observations view
Diffstat (limited to 'app/src/main/java/org/marcinzelent/liberavem/MyObservationsFragment.java')
-rw-r--r--app/src/main/java/org/marcinzelent/liberavem/MyObservationsFragment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/org/marcinzelent/liberavem/MyObservationsFragment.java b/app/src/main/java/org/marcinzelent/liberavem/MyObservationsFragment.java
index b83d7b4..c3656e9 100644
--- a/app/src/main/java/org/marcinzelent/liberavem/MyObservationsFragment.java
+++ b/app/src/main/java/org/marcinzelent/liberavem/MyObservationsFragment.java
@@ -46,6 +46,8 @@ public class MyObservationsFragment extends Fragment {
}
}
);
+
+ DataKeeper.getInstance().addFragment(this);
}
public void populateList(final Observation[] observations, final Bird[] birds) {