I'm following a tutorial on android in Android Programming where I'm supposed to type the following two lines:
The first line works fine, but when I add the second, setListAdapter gives me "Return type for the method is missing", and adapter gives me "adapter cannot be resolved to a type". Imports are as follows:
Anyone know what's wrong?
posted 3 years ago
Nevermind... it turns out the error wasn't there, but at a different place...