Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcodeelements committed Nov 4, 2021
1 parent 2d23cf2 commit c369717
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import java.nio.charset.StandardCharsets

class ComplaintUserInterface(
private val includeComplaintBinding: IncludeComplaintBinding,
val stationLiveData: LiveData<Station>,
val stationLiveData: LiveData<out Station>,
val whatsAppInstallationLiveData: WhatsAppInstallation,
val whatsAppContactliveData: LiveData<String?>,
val activityStarter: (Intent) -> Unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import de.deutschebahn.bahnhoflive.view.SingleSelectionManager
class StationComplaintServiceContentViewHolder(
parent: ViewGroup,
selectionManager: SingleSelectionManager,
stationLiveData: LiveData<Station>,
stationLiveData: LiveData<out Station>,
whatsAppInstallationLiveData: WhatsAppInstallation,
whatsAppContactliveData: LiveData<String?>,
val lifecycleProvider: () -> LifecycleOwner,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class StationInfoAdapter(
private val serviceContents: List<ServiceContent>,
val trackingManager: TrackingManager,
val dbActionButtonParser: DbActionButtonParser,
val stationLiveData: LiveData<Station>,
val stationLiveData: LiveData<out Station>,
val whatsAppInstallationLiveData: WhatsAppInstallation,
val whatsAppContactliveData: LiveData<String?>,
val lifecycleProvider: () -> LifecycleOwner,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import de.deutschebahn.bahnhoflive.repository.DbTimetableResource;
import de.deutschebahn.bahnhoflive.repository.LoadingStatus;
import de.deutschebahn.bahnhoflive.repository.MergedStation;
import de.deutschebahn.bahnhoflive.repository.Station;
import de.deutschebahn.bahnhoflive.repository.timetable.Timetable;
import de.deutschebahn.bahnhoflive.stream.rx.Optional;
import de.deutschebahn.bahnhoflive.ui.map.Content;
Expand Down Expand Up @@ -65,7 +64,7 @@ public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

final StationViewModel stationViewModel = new ViewModelProvider(getActivity()).get(StationViewModel.class);
LiveData<Station> stationLiveData = stationViewModel.getStationResource().getData();
LiveData<MergedStation> stationLiveData = stationViewModel.getStationResource().getData();

dbTimetableResource = stationViewModel.getDbTimetableResource();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import de.deutschebahn.bahnhoflive.BaseApplication
import de.deutschebahn.bahnhoflive.backend.VolleyRestListener
import de.deutschebahn.bahnhoflive.backend.ris.model.TrainEvent
import de.deutschebahn.bahnhoflive.backend.ris.model.TrainInfo
import de.deutschebahn.bahnhoflive.repository.Station
import de.deutschebahn.bahnhoflive.repository.MergedStation
import de.deutschebahn.bahnhoflive.repository.timetable.Timetable
import de.deutschebahn.bahnhoflive.repository.trainformation.TrainFormation
import de.deutschebahn.bahnhoflive.ui.timetable.routeStops
Expand All @@ -28,7 +28,7 @@ class JourneyViewModel(app: Application, savedStateHandle: SavedStateHandle) :

val timetableRepository = getApplication<BaseApplication>().repositories.timetableRepository

val stationProxyLiveData = ProxyLiveData<Station>()
val stationProxyLiveData = ProxyLiveData<MergedStation>()
val timetableProxyLiveData = ProxyLiveData<Timetable?>()

private val argumentTrainInfoLiveData = savedStateHandle.getLiveData<TrainInfo>(ARG_TRAIN_INFO)
Expand Down

0 comments on commit c369717

Please sign in to comment.