Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6246619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:43:27+00:00 2026-05-24T12:43:27+00:00

I use two spinners filled from my database. When I select an item in

  • 0

I use two spinners filled from my database. When I select an item in one of these spinners, it sorts a ListView from what I selected.

The problem is that if I select the item that is already “preselected” by the spinner, it doesn’t do anything (it seems that it doesn’t go in the OnItemSelectedListener).

If I choose another item and, after that, I choose the item that was preselected by the spinner at the beginning, it works.

I found this in anoher question :

It is probably because the first item is ALREADY selected 
- if you want to add an option to represent that nothing is selected, 
you should add that to the head of your list.

But I’m suprised. Is it the only solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:43:27+00:00Added an answer on May 24, 2026 at 12:43 pm

    This is normal in most UI situations, if something is preselected, selecting it again doesn’t fire an event.

    Depending on what the selection should do, you could automatically call it when the item is preselected, saving the user a couple of taps, but it all depends on what you are actually doing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use two Spinner in my App. One of them is initially disabled because
I am developing a Java webservice application (with JAX-WS) that has to use two
When we want to modify some value in one object we may use two
Can I use two command object with one open connection in one procedure at
I'm trying to use two divs, one with a non repeating background in the
I want to use two tableviews under the segmentedcontrol. one is plain styled and
I'm trying to use two different methods of connecting to a database to edit
I am trying to use two different string functions (initcap and trim) on one
Can I use two versions of a gem in one application? I'm trying to
Hi I want to use two params hashes in one page The job of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.