how do I populate a spinner to depend on spinner data in a different activity?In android studio using java and also with sqlite db.
I already have both spinners but I am struggling to make the second spinner depend on the first spinner data to populate itself.