2

I created a spinner and its working fine.

All I want is that when i click on spinner it show drop down that's it. I want un-clickble drop down list.

Using this

    viewHolder.like.setEnabled(false);
    viewHolder.like.setClickable(false);

my spinner set unclickble.

If anyone need more detail about spinner I can post more details. Suggestions are welcome.

Vivek
  • 449
  • 18
  • 36

1 Answers1

2

You simply need to override isEnabled and disable that position by return false else return true. You can override the same method where you have override getDropDownView method

Rahul Khurana
  • 8,577
  • 7
  • 33
  • 60