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

To make the code work for Android Version < 24 #3

Open
suku-h opened this issue Mar 20, 2017 · 3 comments
Open

To make the code work for Android Version < 24 #3

suku-h opened this issue Mar 20, 2017 · 3 comments

Comments

@suku-h
Copy link

suku-h commented Mar 20, 2017

The code for the ResponseListener can be used only if Android version is 24 or above.

so instead of :

public interface ResponseListener { default public void onFoodResponse(Food food) { System.out.println("ResponseListener onFoodResponse"); } ....

if the code is like this:

public interface ResponseListener { void onFoodResponse(Food food); ....
then it can be used for Android SDK versions < 24

@rbdsqrl
Copy link

rbdsqrl commented Aug 3, 2017

hey did you manage to get it to work for SDK version < 24?

@User2991
Copy link

User2991 commented May 4, 2018

Have anyone resolved the above issue. As it working in abve 24 version but not below

@codermahadi
Copy link

Can i yous sdk version < 24?

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

4 participants