I’m developing an app to search places from a state. I want to create multiple linked lists views: 1 for countries, 1 for states from some country and 1 for places from some state. On the top of this tree is the list of countries, when I pick some country I want to be send to its list of states, then when I pick some states I want to be send to its list of places where I can pick the place I want to.
So my question is, what is the best approach to do that?
I’m thinking about to do 1 base state called country and 1 child for state, with the country id as parameter, and 1 grandchild for places, with the country id and state id as parameters. But I don’t know if I can use 1 controller and 1 template for all 3 or I need to create 1 for each. Neither if that is the best approach.
Thank you very much for the support.