1. Android Central Question's Avatar
    im really stuck with this i have two adapters and to selected on adapter it has to get the value form another adapter. so far i was able to get the two values here but i dont know how to pass the recipe value to second method.

    public static class res{

    public static void selectedMenu(String recipe){
    Log.d("tmg",recipe);

    }

    public static void selectedMenu(DataSnapshot db) {
    RecipesInformation Recipes = db.getValue(RecipesInformation.class);
    if (Recipes.getCompany().equals(displayName) && Recipes.getMenuList().equals("Panini with Traditional Roast Paan")) {
    //Log.v("tmg", displayName);
    rRecipes.add(db.getValue(RecipesInformation.class));
    }

    }

    }
    01-09-2019 12:58 AM
  2. belodion's Avatar
    This may be too technical for the AAQ forum. Would you like it to be moved to any other forum?
    01-09-2019 05:49 AM

Similar Threads

  1. New to Android--Best ringtones w/o malware?
    By Android Central Question in forum Ask a Question
    Replies: 6
    Last Post: 01-11-2019, 02:27 AM
  2. Nothing saving to gallery
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 01-09-2019, 12:48 AM
  3. Has anyone successfully synced a Samsung gear s3 to Sony Xperia XA2
    By Android Central Question in forum Samsung Gear S3
    Replies: 0
    Last Post: 01-08-2019, 10:44 PM
  4. Replies: 0
    Last Post: 01-08-2019, 05:41 PM
LINK TO POST COPIED TO CLIPBOARD