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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:45:56+00:00 2026-06-09T20:45:56+00:00

I am using IntelliJ IDEA for Android development. But there is one thing annoying

  • 0

I am using IntelliJ IDEA for Android development. But there is one thing annoying me very much. When I use “Implement methods” feature it generates something like this:

new OnItemSelectedListener() {
    @Override
    public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {
    }

    @Override
    public void onNothingSelected(AdapterView<?> adapterView) {
    }
}

Parameter names are inconsistent, I expected to see something like this:

new OnItemSelectedListener() {
    @Override
    public void onItemSelected (AdapterView<?> parent, View view, int position, long id) {
    }

    @Override
    public void onNothingSelected(AdapterView<?> parent) {
    }
}

How can I make IDEA generate correct parameter names?

  • 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-06-09T20:45:58+00:00Added an answer on June 9, 2026 at 8:45 pm

    Source code is required to get proper parameter names in code completion. Android SDK didn’t bundle sources until 4.0 platform version (API version 14), since then sources are available out of the box:

    Sources

    If you are using older platform version, see my answer for the workaround.

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

Sidebar

Related Questions

I am trying to learn android app development .I am using IntelliJ Idea 10.When
I'm currently using IntelliJ IDEA for Java development, but I'm also interested in answers
I am using IntelliJ IDEA 11.1.2 Ultimate with Gradle 1.0 multi module project. One
I'm using IntelliJ IDEA v11.0.1 In Run/Debug configuration of my Android application I can
I'm using IntelliJ IDEA 9.0.2 but I assume this question applies to previous versions
While using IntelliJ Idea to code Scala I've noticed it to use to offer
I'm using IntelliJ Idea 8.1.2 for Grails development. The dynamic nature of Groovy is
I am using IntelliJ IDEA and developing web application in Java. Is there any
I know this is a simplistic question; but I've been using IntelliJ IDEA for
I'm using IntelliJ-Idea to write Java daemons. We use JUnit to unit test our

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.