Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 4 Application Development
This is the forum to discuss the Wrox book Professional Android 4 Application Development Reto Meier; ISBN: 978-1-1181-0227-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 4 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 20th, 2013, 05:43 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4 - myListView cannot be resolved

I'm stuck already. First part of the exercise of Chapter 4 (pg110).
My ToDoListActivity.java file doesn't want to compile. I have errors saying
"myListView cannot be resolved or is not a field".
I thought all was needed was to give it an ID in the .xml file
Code:
 android:id="@+id/myListView"
Any suggestions?
Thanks,

Frank

Last edited by Franko; January 20th, 2013 at 06:35 PM..
 
Old January 21st, 2013, 11:52 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok I somehow missed the instruction on pg 112 mentioning the need for import statements to get the ListView to work...
Proceeding.

Frank




Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 "myListView" issue Ysosrs BOOK: Professional Android 2 Application Development 0 September 26th, 2011 08:12 PM
"The remote name could not be resolved" teddyk ASP.NET 2.0 Basics 0 October 28th, 2008 12:49 AM
chapter 2, error uri cannot be resolved in either boylevel BOOK: Beginning JavaServer Pages 2 November 21st, 2007 12:54 PM
StreamReader Loop [Resolved] JAtkinson VB How-To 0 April 17th, 2004 01:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.