skip to Main Content

Json – How to pass List of data from NavGraph in android kotlin Android

Getting this error: Type mismatch: inferred type is List<BookParkingResponse.Data> but List<BookParkingResponse.Data.ParkingRequests> was expected unable to pass data bewteeen fragments Nav Graph code: navGraph <argument android:name="bookingRequestList" app:argType="com.jvm.di.model.parkingSpot.response.BookParkingResponse.Data" /> Response class @Parcelize data class BookParkingResponse( @SerializedName("data") var data: List<Data>? = null ):Parcelable…

VIEW QUESTION
Back To Top
Search