For those who are interested, I finally found the bug.

I needed to add android:scrollbars="horizontal"  in the xml parameters of my 
AdapterView xml declaration .
Id the constructor of the adapter view does not call View constructors with 
(AttributeSet attrs) parameters, the method initializeScrollbars(a) in View 
is never called and this will call nullpointer exception in the future if 
you want to call draw on your adapterview.

I think this is a android bug and I will report it.
The exact case in the constructor can be found here : 
http://www.google.co.in/codesearch/p?hl=en#uX1GffpyOZk/core/java/android/view/View.java&q=View.java$&l=2056


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to