Skip to content Skip to sidebar Skip to footer

AIDL ERROR While Trying To Return Custom Class Object

I am trying to pass 'Response' class object using IPC in AIDL. I have made the class parcelable: public class Response implements Parcelable{ private long id; private Strin

Solution 1:

try to add public Response() {}

above to the below mentioned code.

 public Response(Parcel in) { .....

.... }

so it should look like

public Response(){}

public Response(Parcel in) { ..... .... }


Post a Comment for "AIDL ERROR While Trying To Return Custom Class Object"