Hi,

I am trying to associate a local ListView type variable to a Resource
I created in main.xml.
But the method is throwing back null.Cant figure out what I am doing
wrong here.

ListView l1 = (ListView) findViewById(R.id.listView1);

Please help.

Thanks,

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to