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 6133733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:15:57+00:00 2026-05-23T17:15:57+00:00

I’m working on an application where the user needs to select Year, Make, and

  • 0

I’m working on an application where the user needs to select Year, Make, and Model for a vehicle. When the user selects a year, the list of makes is populated to only include those that exist for that year, and once the make is selected the list of models is populated based off the year and make.

I had initially used Spinners, but the problem is that Android Spinner’s don’t let you have an empty initial selection, and I don’t want to load the make and model until a year is selected. I also don’t want to include an item in the list that isn’t a year.

Theres also an issue with Spinners where the onItemSelected() gets called when the Spinner is initalized, so its hard to determine if the system is selecting an item, or if a user is selecting an item. I only only to load the Makes after the user selects an item. I tried overriding the onItemSelected and using a custom adapter, but everytime the user selects an item, that method gets called twice, which seems odd to me. Any solution I’ve came up with seems like a hack and doesn’t feel polished.

I’ve looked online a lot and haven’t found any solutions.

Is there a way to get the Spinner to work in this case, or is there a better design I can use for this?

  • 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-23T17:15:58+00:00Added an answer on May 23, 2026 at 5:15 pm

    “Spinners” or drop down menus work so much nicer on web pages with a mouse than they do on a mobile device with your finger…

    You said the user chooses a year first, wouldn’t it be better to have the user choose the make first? Pretty sure that’s how it’s usually done, nevertheless, maybe you could use an AutoCompleteTextView so that the user can type in the make (not having to choose it from a list of a billion makes) and it will narrow down the selection based off of the typing.

    For the model you could possibly do the same, and then for the year, just let them enter the year… have a numpad come up (<EditText android:inputType="number" ... />) and it will be so much faster for the user than finding the year from a list of 60 years in a spinner.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

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.