We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code for the ResponseListener can be used only if Android version is 24 or above.
ResponseListener
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
public interface ResponseListener { void onFoodResponse(Food food); ....
The text was updated successfully, but these errors were encountered:
hey did you manage to get it to work for SDK version < 24?
Sorry, something went wrong.
Have anyone resolved the above issue. As it working in abve 24 version but not below
Can i yous sdk version < 24?
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: