diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-02-01 07:00:14 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-02-01 07:00:14 +0000 |
commit | e9b937eb9f11f4f7fc40c0c7737d82d00f391749 (patch) | |
tree | e338f36911bf01dbfc11524b46871d255f4c2390 /app/src/main/java/ml | |
parent | c9f88caa647c116327815d8b0234eba2abf9e650 (diff) | |
download | infinity-for-reddit-e9b937eb9f11f4f7fc40c0c7737d82d00f391749.tar infinity-for-reddit-e9b937eb9f11f4f7fc40c0c7737d82d00f391749.tar.gz infinity-for-reddit-e9b937eb9f11f4f7fc40c0c7737d82d00f391749.tar.bz2 infinity-for-reddit-e9b937eb9f11f4f7fc40c0c7737d82d00f391749.tar.lz infinity-for-reddit-e9b937eb9f11f4f7fc40c0c7737d82d00f391749.tar.xz infinity-for-reddit-e9b937eb9f11f4f7fc40c0c7737d82d00f391749.tar.zst infinity-for-reddit-e9b937eb9f11f4f7fc40c0c7737d82d00f391749.zip |
Use a dirty method to fix user info and subscribe chip not shown in ViewUserDetailActivity. The problem is caused by CommentsListingFragment. So weird.
Diffstat (limited to 'app/src/main/java/ml')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java index 9183fc1a..3675a8ea 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java @@ -9,6 +9,7 @@ import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Bundle; +import android.os.Handler; import android.view.HapticFeedbackConstants; import android.view.LayoutInflater; import android.view.View; @@ -247,7 +248,7 @@ public class CommentsListingFragment extends Fragment implements FragmentCommuni mAccessToken = mCurrentAccountSharedPreferences.getString(SharedPreferencesUtils.ACCESS_TOKEN, null); - bindView(resources); + new Handler().postDelayed(() -> bindView(resources), 0); return rootView; } |