Fixed player sometimes not updating
This commit is contained in:
parent
38c1b559e3
commit
059eda1b34
|
@ -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