using Two android spinners one dependent on the other

前端 未结 3 1488
忘了有多久
忘了有多久 2021-01-07 04:54

I have gone through so much code and tried to figure out what I am doing wrong but i am flunked and am wasting time. It would be pretty simple but I cannot figure it out..

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-07 05:27

    In your code you are not setting the planOnClickListener() any where. I thing you forget to set the listener like this catspinner.setOnItemSelectedListener(new planOnClickListener());

提交回复
热议问题