How do I navigate through and understand the documentation in Android? -
i got 1 piece of code study , puzzled long time because tried make own version of , broke tried commenting original code step step see when failed , gave me null pointer in getview method after commented declaration of 1 variable used. wasn't seeing method being called anywhere , searched lot answer until found this:
when getview() method of listview called?
it esentially says getview getts called whenever item passed adapter through setadapter method.
i on view docs, adapter docs, inflater, etc , couldn't find piece of information tell me happened, not setadapter method says behavior. documentation error or there general guideline i'm not following correctly?
i think going in right direction, if breaking code , hitting road blocks. best resource study api's android android developer site itself
http://developer.android.com/reference/android/widget/adapter.html
plus [android] tagged questions on stackoverflow.
Comments
Post a Comment