Merge pull request #3966 from ByteHamster/fix-not-updating
Fixed player sometimes not updating
This commit is contained in:
commit
154c04b50a
|
@ -77,6 +77,11 @@ public class ChaptersFragment extends Fragment {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setupGUI() {
|
||||
ChaptersFragment.this.loadMediaInfo();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPositionObserverUpdate() {
|
||||
adapter.notifyDataSetChanged();
|
||||
|
|
|
@ -104,6 +104,10 @@ public class CoverFragment extends Fragment {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setupGUI() {
|
||||
CoverFragment.this.loadMediaInfo();
|
||||
}
|
||||
};
|
||||
controller.init();
|
||||
loadMediaInfo();
|
||||
|
|
|
@ -145,6 +145,10 @@ public class ItemDescriptionFragment extends Fragment {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setupGUI() {
|
||||
ItemDescriptionFragment.this.load();
|
||||
}
|
||||
};
|
||||
controller.init();
|
||||
load();
|
||||
|
|
Loading…
Reference in New Issue