开发者

Spinner help, Eclipses throwing errors!

I'm having trouble populating my Spinner, so I'm using the tutorial on Google website,

http://developer.android.com/resourc...o-spinner.html

When I get to part 4, and I put the code in the the java folder, a bunch of red X开发者_StackOverflow中文版's pop up, giving me errors.

My questions is do I delete everything in the oncreate () .java file and insert the code from Googles site? When I do it give me errors, this is what happens,

http://imgf.tw/206693399.png

I'm know my coding is wrong, can anybody point me in the right direction?


Do you have all the imports right? Try pressing (I think) ctrl-shift-o to lead missing imports for Spinner and ArrayAdapter.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜