feat: radio list update

This commit is contained in:
antonio 2023-05-07 19:31:16 +02:00
parent 64958167f0
commit 1d733d4062
2 changed files with 6 additions and 0 deletions

View file

@ -82,6 +82,11 @@ public class HomeTabRadioFragment extends Fragment implements ClickCallback {
RadioEditorDialog dialog = new RadioEditorDialog(() -> radioViewModel.getInternetRadioStations(getViewLifecycleOwner()));
dialog.show(activity.getSupportFragmentManager(), null);
});
bind.internetRadioStationTitleTextView.setOnLongClickListener(v -> {
radioViewModel.getInternetRadioStations(getViewLifecycleOwner());
return true;
});
}
private void initRadioStationView() {

View file

@ -28,6 +28,7 @@
android:textAllCaps="true" />
<TextView
android:id="@+id/internet_radio_station_title_text_view"
style="@style/TitleLarge"
android:layout_width="match_parent"
android:layout_height="wrap_content"