I want to get all route_number(example:"rt45") which contains stops(example:"hapur chungi").
i need a firebase query in java which returns all routenumber which have "hapur chungi" and "lal kaun" as their stops The stops names are variable and user may need result for "hapur chungi" and "mohan nagar" as their stops
Code after getting the first solution i got the correct output but for that i have to click the button twice to load the data. the code i have used after reporting my initial problem but now i have to click button twice to get output