From ffce24951029ee57216709c408c9c3c5de414c8a Mon Sep 17 00:00:00 2001 From: IvanaE Date: Mon, 19 Nov 2018 21:50:06 -0500 Subject: [PATCH] fixed errors? --- .../com/uottawa/olympus/olympusservices/HomeOwnerBookings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/HomeOwnerBookings.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/HomeOwnerBookings.java index e530dff..85359a9 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/HomeOwnerBookings.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/HomeOwnerBookings.java @@ -82,7 +82,7 @@ public class HomeOwnerBookings extends AppCompatActivity { @Override public void onBindViewHolder(BookingHolder holder, int position) { Booking booking = bookings[position]; - holder.name.setText(booking.getServiceprovider()); + holder.name.setText(booking.getServiceprovider().getFirstname()+" "+booking.getServiceprovider().getLastname());