Dynamic values in mobile application dropdown

Dynamic values in mobile application dropdown

In my application there are 2 drop downs, getting values from 2 aggregates. Issue is value of second drop down is dependent on first drop down.

Example : in first drop down am showing list of country. When user select any country then on the basis of selected country id I need to show states in second drop down. How I can do this. Please suggest.