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

ERROR: method adapter in class Builder cannot be applied to given types #1

Open
Shin2D opened this issue Sep 9, 2015 · 2 comments
Open

Comments

@Shin2D
Copy link

Shin2D commented Sep 9, 2015

Error:(223, 21) error: method adapter in class Builder cannot be applied to given types;
required: ListAdapter,ListCallback
found: DevicesAdapter
reason: actual and formal argument lists differ in length

@mpvasilis
Copy link

Same issue.

@mdtanrikulu
Copy link

You can pass nullas ListCallback method,
.adapter(new DevicesAdapter(MainActivity.this, deviceList), null)
and it'll be ok.

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

3 participants