Fixed Feed not refreshing when changing filter

This commit is contained in:
ByteHamster 2020-05-11 12:23:01 +02:00
parent 8145d7e931
commit 1981fb16cf
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ public class FeedItemlistFragment extends Fragment implements AdapterView.OnItem
activity.loadChildFragment(ItemPagerFragment.newInstance(ids, position)); activity.loadChildFragment(ItemPagerFragment.newInstance(ids, position));
} }
@Subscribe @Subscribe(threadMode = ThreadMode.MAIN)
public void onEvent(FeedEvent event) { public void onEvent(FeedEvent event) {
Log.d(TAG, "onEvent() called with: " + "event = [" + event + "]"); Log.d(TAG, "onEvent() called with: " + "event = [" + event + "]");
if (event.feedId == feedID) { if (event.feedId == feedID) {

View File

@ -97,7 +97,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="2dp" android:padding="2dp"
android:background="?attr/colorPrimary" android:background="?android:attr/windowBackground"
android:visibility="gone" android:visibility="gone"
android:gravity="center" android:gravity="center"
tools:visibility="visible" tools:visibility="visible"