Merge pull request #3966 from ByteHamster/fix-not-updating

Fixed player sometimes not updating
This commit is contained in:
H. Lehmann 2020-03-26 23:41:45 +01:00 committed by GitHub
commit 154c04b50a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();