Fixed player sometimes not updating

This commit is contained in:
ByteHamster 2020-03-26 21:28:45 +01:00
parent 38c1b559e3
commit 059eda1b34
3 changed files with 13 additions and 0 deletions

View File

@ -77,6 +77,11 @@ public class ChaptersFragment extends Fragment {
return true;
}
@Override
public void setupGUI() {
ChaptersFragment.this.loadMediaInfo();
}
@Override
public void onPositionObserverUpdate() {
adapter.notifyDataSetChanged();

View File

@ -104,6 +104,10 @@ public class CoverFragment extends Fragment {
return true;
}
@Override
public void setupGUI() {
CoverFragment.this.loadMediaInfo();
}
};
controller.init();
loadMediaInfo();

View File

@ -145,6 +145,10 @@ public class ItemDescriptionFragment extends Fragment {
return true;
}
@Override
public void setupGUI() {
ItemDescriptionFragment.this.load();
}
};
controller.init();
load();