For example, When I want to create a reference type of TextView :
TextView tv;
I receive an error which tells me to import android.widget.TextView.
Now, I know how the whole Import packages concept works, but I always wondered how does the Content Assist of eclipse displays the TextView Class of android BEFORE I imported it to my project? how it knows it even exists and how it know it exists in android.widget.TextView.
Thanks!
because you have already imported the android library into your project. you can try this: open project properties -> click Java Build Path -> choose Libraries -> remove android library. then content assist will not work.