diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2021-10-30 23:02:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-30 23:02:04 +0200 |
commit | 15e73e26cf4c96d33b1b1ce942bc05a04e1972ec (patch) | |
tree | 073a81e8583e027bb22d2951564b7356455595ac | |
parent | 47034dfbab4edfed48d04dd4bc5f30c2a54833a6 (diff) | |
parent | ac41f5c319dabba13ce4856b37cfa4d94252eafd (diff) | |
download | AntennaPod-15e73e26cf4c96d33b1b1ce942bc05a04e1972ec.zip |
Merge pull request #5511 from ByteHamster/refresh-item-state
Refresh item state on start
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java index d4c243676..7f561e583 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java @@ -14,7 +14,6 @@ import android.widget.Button; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextView; -import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core.text.TextUtilsCompat; import androidx.core.util.ObjectsCompat; @@ -224,12 +223,6 @@ public class ItemFragment extends Fragment { } @Override - public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { - super.onViewCreated(view, savedInstanceState); - load(); - } - - @Override public void onStart() { super.onStart(); EventBus.getDefault().register(this); @@ -240,6 +233,7 @@ public class ItemFragment extends Fragment { } }; controller.init(); + load(); } @Override |