Welcome to the Treehouse Community
Looking to learn something new?
Auto completion not showing SetOnclickListener
I choose to only support Lollipop is that the reason?
adam stein17,057 Points
Sorry for having just noticed this question now. Hopefully this answer can still be of use to someone...
Java is a case sensitive language. By capitalizing the 'S' in "SetOnclickListener" your IDE is reading it as an entirely new method hence autocomplete is ignoring you. EVERYONE MAKES MISTAKES LIKE THESE. I still do all the time. I've even seen TreeHouse instructors gloss over a typo and try to run their application.
As a side note, a common convention in many programming languages is naming fields and methods with camel case ie 'setOnclickListener'. https://en.wikipedia.org/wiki/CamelCase.
As another side note, I can't stress how helpful it was for my own learning to switch over to the java track before diving into this one. I have hardly mastered the language, but after returning to this track, I can follow along with greater ease. Unlike my first attempt at this track, I don't feel as though I'm just taking Ben's word for everything. Having knowledge of object oriented programming to rely on as a reference point is quickly paying off!