paulblessing
03/27/2017, 6:41 PM{. Adding a second will introduce a new lambda that never gets invoked. The below should work:
disposables.add(service!!.assignDriverUsingLabel(vehicleLabel, Date().toString())
.observeOn(mainThread())
.subscribe({ response ->
assignVehicle(response.body())
println("Can do something else in here too")
},
{
assignDriverUsingVin(vehicleLabel)
}))