I need a code example how to compare the contents of two spieners, i.e. if the third spinner has the same selection as the other two, then output the text

    1 answer 1

    Spinner has a getSelectedItemPosition() method that returns the position of the selected item. With this method, you can get the selected element from the adapter, and after that - compare two objects with each other.