SmartCache
SmartCache copied to clipboard
IllegalArgumentException
I'm trying to make SmartCall<ResponseBody> this is my Code `Retrofit.Builder builder = new Retrofit.Builder() .baseUrl(G.Url + "/") .addConverterFactory(GsonConverterFactory.create(new Gson()));
Retrofit retrofit =
builder.client(
ConnectionBuilder.getBuilder(activity).build()
).build();
ConnectionInterFace connectionInterFace = retrofit.create(ConnectionInterFace.class);
connectionInterFace.getListbody(Url, jsonObject.toString()).enqueue(this);
` And i get this Error
IllegalArgumentException: Unable to create call adapter for dimitrovskif.smartcache.SmartCall<okhttp3.ResponseBody> for method ConnectionInterFace.getListbody
Can anybody tell me what is my code problem ?
Facing the same issue. Did you find any fix for that?
@kabirnayeem99 @mohammadaminha Can you check the new demo app and the new version?
To install the new version, change the implementation
line in Gradle, as mentioned in the README. The username/owner of the repo is changed as well.