Boxfit
Boxfit copied to clipboard
Objectbox and Retrofit 2 working together
I add 'BoxfitSerializer' as below : Retrofit retrofit = (new Retrofit.Builder()) .addConverterFactory(BoxfitSerializer.getConverterFactory(BaseApplication.boxStore)) .baseUrl(serverAddress) .client(client) .addConverterFactory(GsonConverterFactory.create()) .addCallAdapterFactory(RxJava2CallAdapterFactory.create()) .build(); after building project, still I get this error. how can i resolve this?
``` implementation 'com.manuege.boxfit:boxfit:0.0.5' kapt 'com.manuege.boxfit:boxfit-processor:0.0.5' ``` `e: [kapt] An exception occurred: java.lang.NoClassDefFoundError: kotlin/reflect/jvm/internal/impl/platform/JavaToKotlinClassMap`
Hi, I've followed your method in the part "No generic classes" but I'm having trouble with the results part. Indeed, my api doesn't always return an array but a single...
Tried running it on Android studio, doesn't work. Tried adding it as a dependency, but JCenter and mavenCentral doesn't have a working copy.