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

Android Studio – "error: package R does not exist" in all Direction classes after android studio update

I Updated my Android studio to ChipMunk 2021.2.1 and then Android Studio recommend me to move package name from Android Manifest to build.gradle : from: <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="myPackageName"> ... to: android { namespace 'myPackageName' ... } And after this…

VIEW QUESTION
Back To Top
Search