Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApiResponseCallAdapterFactory is missing in 2.0.4 #223

Closed
wennaspeedy opened this issue Nov 24, 2023 · 2 comments
Closed

ApiResponseCallAdapterFactory is missing in 2.0.4 #223

wennaspeedy opened this issue Nov 24, 2023 · 2 comments

Comments

@wennaspeedy
Copy link

wennaspeedy commented Nov 24, 2023

2.0.4
Android 12

Can't import ApiResponseCallAdapterFactory

import com.skydoves.sandwich.adapters.ApiResponseCallAdapterFactory
...
.addCallAdapterFactory(ApiResponseCallAdapterFactory.create()) 

image

image

@skydoves
Copy link
Owner

Hey @wennaspeedy, since version 2.0.0, Sandwich has been separated into multiple packages to support KMP. So you should make sure you're importing a sandwich-retrofit package, not a sandwich package.

https://skydoves.github.io/sandwich/retrofit/

@wennaspeedy
Copy link
Author

I am sorry. I miss that. I migrated from 1.3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants