1

I have this Response Object from API

data class ReqSpaceAvailability @Inject constructor(var stationFrom: String? = null,
                                                    var stationTo: String? = null,
                                                    var detailNumPlaces: String? = "1",
                                                    var detailTypePlaces: String? = "0",
                                                    var direction: ArrayList<ObjDirection>? = null)

But it's not compiling saying

"error: Types may only contain one @Inject constructor."

MJakhongir
  • 535
  • 1
  • 8
  • 23

0 Answers0