mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
feat: radio list update
This commit is contained in:
parent
64958167f0
commit
1d733d4062
2 changed files with 6 additions and 0 deletions
|
|
@ -82,6 +82,11 @@ public class HomeTabRadioFragment extends Fragment implements ClickCallback {
|
||||||
RadioEditorDialog dialog = new RadioEditorDialog(() -> radioViewModel.getInternetRadioStations(getViewLifecycleOwner()));
|
RadioEditorDialog dialog = new RadioEditorDialog(() -> radioViewModel.getInternetRadioStations(getViewLifecycleOwner()));
|
||||||
dialog.show(activity.getSupportFragmentManager(), null);
|
dialog.show(activity.getSupportFragmentManager(), null);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
bind.internetRadioStationTitleTextView.setOnLongClickListener(v -> {
|
||||||
|
radioViewModel.getInternetRadioStations(getViewLifecycleOwner());
|
||||||
|
return true;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initRadioStationView() {
|
private void initRadioStationView() {
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
android:textAllCaps="true" />
|
android:textAllCaps="true" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/internet_radio_station_title_text_view"
|
||||||
style="@style/TitleLarge"
|
style="@style/TitleLarge"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue