mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
fix: reload after action
This commit is contained in:
parent
44a18fc5aa
commit
df4ef74dd2
3 changed files with 18 additions and 4 deletions
|
|
@ -28,4 +28,8 @@ public class RadioViewModel extends AndroidViewModel {
|
|||
radioRepository.getInternetRadioStations().observe(owner, internetRadioStations::postValue);
|
||||
return internetRadioStations;
|
||||
}
|
||||
|
||||
public void refreshInternetRadioStations(LifecycleOwner owner) {
|
||||
radioRepository.getInternetRadioStations().observe(owner, internetRadioStations::postValue);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue