spinner get selected index

Solutions on MaxInterview for spinner get selected index by the best coders in the world