1. Are you ready for the Galaxy S20? Here is everything we know so far!

I want to set selection of spinner dynamically from singleton class object

Discussion in 'Android Development' started by Ahsan Farooq, Aug 24, 2020.

  1. Ahsan Farooq

    Ahsan Farooq Lurker
    Thread Starter

    I have created a spinner.I set onItemClickListener on spinner and in Listener the selected item position is stored in singleton class.Now I want to set spinner selection on the basis of that position. I debug my app and there is position is available but spinner is not selecting specific value on that position.


Share This Page