diff --git a/src/Mobile/AeccApp/AeccApp.Core/ViewModels/Requests/Hospital/HospitalAddressesListViewModel.cs b/src/Mobile/AeccApp/AeccApp.Core/ViewModels/Requests/Hospital/HospitalAddressesListViewModel.cs
index 906fe24..9283bd2 100644
--- a/src/Mobile/AeccApp/AeccApp.Core/ViewModels/Requests/Hospital/HospitalAddressesListViewModel.cs
+++ b/src/Mobile/AeccApp/AeccApp.Core/ViewModels/Requests/Hospital/HospitalAddressesListViewModel.cs
@@ -59,6 +59,25 @@ public bool HospitalAddressesIsEmpty
#region Commands
+ private Command _chooseHospitalCommand;
+ public ICommand ChooseHospitalCommand
+ {
+ get
+ {
+ return _chooseHospitalCommand ??
+ (_chooseHospitalCommand = new Command(OnChooseHospitalCommand, o => !IsBusy));
+ }
+ }
+
+ ///
+ ///
+ ///
+ /// obj contains the HomeAddressList item tapped
+ private async void OnChooseHospitalCommand(object obj)
+ {
+ var selectedAddress = obj as AddressModel;
+ await NavigationService.NavigateToAsync(selectedAddress);
+ }
private Command _newHospitalAddressCommand;
public ICommand NewHospitalAddressCommand
diff --git a/src/Mobile/AeccApp/AeccApp.Core/Views/Requests/Hospital/HospitalAddressesListView.xaml b/src/Mobile/AeccApp/AeccApp.Core/Views/Requests/Hospital/HospitalAddressesListView.xaml
index 7e8293a..6ad4042 100644
--- a/src/Mobile/AeccApp/AeccApp.Core/Views/Requests/Hospital/HospitalAddressesListView.xaml
+++ b/src/Mobile/AeccApp/AeccApp.Core/Views/Requests/Hospital/HospitalAddressesListView.xaml
@@ -3,6 +3,7 @@
x:Class="AeccApp.Core.Views.HospitalAddressesListView"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
+ xmlns:beh="clr-namespace:AeccApp.Core.Behaviors"
xmlns:ctrl="clr-namespace:AeccApp.Core.Controls"
xmlns:ctrlXlabs="clr-namespace:XLabs.Forms.Controls"
xmlns:v="clr-namespace:AeccApp.Core.Views"
@@ -113,6 +114,12 @@
IsVisible="{Binding HospitalAddressesIsEmpty, Converter={StaticResource InverseBoolConverter}}"
ItemTemplate="{StaticResource hospitalAddressesListTemplate}"
ItemsSource="{Binding HospitalAddressesList}">
+
+
+
+ WidthRequest="9" />
@@ -58,7 +59,7 @@
@@ -140,21 +141,22 @@
+ WidthRequest="9" />