To make the code work for Android Version < 24
Opened this issue · 3 comments
suku-h commented
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 commented
hey did you manage to get it to work for SDK version < 24?
User2991 commented
Have anyone resolved the above issue. As it working in abve 24 version but not below
codermahadi commented
Can i yous sdk version < 24?