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

  • Home
  • SEARCH
  • 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 5948905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:10:30+00:00 2026-05-22T17:10:30+00:00

I seem to be having a problem with a syntax error within Eclipse while

  • 0

I seem to be having a problem with a syntax error within Eclipse while doing one of the tutorials from the Android for Dummies book. It’s probably something simple, but I keep looking at the code and it seems right to me.. Here’s a screenshot. Ah, I can’t post images as I’m a new user. Here are the jpg links instead.

https://i.stack.imgur.com/1DWzj.jpg

I can’t figure out why Eclipse is giving me those three lines as an error. When I hover over it, it says that I’m missing a } or maybe I have too many, but I think I’ve accounted for all of them! When I remove those four lines starting with the second @Override, everything parse out correctly. Here it is without those lines.

https://i.stack.imgur.com/GcSHI.jpg

  • 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-22T17:10:30+00:00Added an answer on May 22, 2026 at 5:10 pm

    It’s a clever typo, but if you look very closely.

    protected void onListItemClick(ListItem 1, ...
    

    has it’s first parameter as a ListItem, but it has a variable name as the numeral 1, not the letter l. Since a variable name isn’t allowed to start with a digit, the parameter list is not valid, so the method declaration is not valid, and hence the block under it is not properly opened.

    It’s obvious you meant the letter l as it is used within the block.

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

Sidebar

Related Questions

I seem to be having a problem with extracting data from a stringstream. The
I'm having a problem with one of my automapping configurations that I can't seem
am having problem, my app doesn't seem to check the radio button based from
I seem to be having a problem with checking for list equality. In my
Okay, I seem to be having a problem. I'm trying to create a twicker
I'm having a problem with my Seam code and I can't seem to figure
I'm having a problem with my site http://artygirl.co.uk/pixie/about/ I can't seem to get the
I'm really having a problem finding out how to fix this. I cannot seem
I'm having trouble with MySQL or Python and can't seem to isolate the problem.
I seem to be having a problem with a macro that I have defined

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.