Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJordan Pokladnik
5,748 PointsOpening a Webpage in the Browser step 1
What am I doing wrong?
protected void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(1, v, position, id);
This seems to work for everyone else.
2 Answers
Jordan Pokladnik
5,748 PointsThe problem seems to be the "1". When I type in the "1" it doesn't work, but when I copy and paste it from the previous line, it works. Is that normal?
Jordan Pokladnik
5,748 PointsOh, well that explains it. Thanks!
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherIt's not a "1", it's a lowercase "L". :) This is one reason we try to avoid one-letter variable names! Silly Android engineers...