diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-08 00:57:43 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-08 00:57:43 +0000 |
commit | b5c9e98ec902a062b947c1ca58d9c41f16dcdaa0 (patch) | |
tree | 7558fb71a22851bdd7e2a5af59bb77aef20e8ff5 | |
parent | 425bc857cfe094d8b9be5815030ef3e6b0cf173d (diff) | |
download | infinity-for-reddit-b5c9e98ec902a062b947c1ca58d9c41f16dcdaa0.tar infinity-for-reddit-b5c9e98ec902a062b947c1ca58d9c41f16dcdaa0.tar.gz infinity-for-reddit-b5c9e98ec902a062b947c1ca58d9c41f16dcdaa0.tar.bz2 infinity-for-reddit-b5c9e98ec902a062b947c1ca58d9c41f16dcdaa0.tar.lz infinity-for-reddit-b5c9e98ec902a062b947c1ca58d9c41f16dcdaa0.tar.xz infinity-for-reddit-b5c9e98ec902a062b947c1ca58d9c41f16dcdaa0.tar.zst infinity-for-reddit-b5c9e98ec902a062b947c1ca58d9c41f16dcdaa0.zip |
Fixed ViewPager adapter was initialized twice in ViewUserDetailActivity and it caused eventbus registered twice to PostFragment.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/ViewUserDetailActivity.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/ViewUserDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/ViewUserDetailActivity.java index fc5f7264..bf90baf0 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/ViewUserDetailActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/ViewUserDetailActivity.java @@ -117,8 +117,6 @@ public class ViewUserDetailActivity extends AppCompatActivity { } } - getCurrentAccountAndInitializeViewPager(); - params = (AppBarLayout.LayoutParams) collapsingToolbarLayout.getLayoutParams(); //Get status bar height |