fatsecret/fatsecret4j

To make the code work for Android Version < 24

Opened this issue · 3 comments

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

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

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

Can i yous sdk version < 24?