ListView is Widget(View) or Layout(Viewgroup)?
- by Manoj Maurya
Hi All,
I need your help to explore few topics in Android.
My understanding is Widget is View and Layout is ViewGroups in Android.
I described the problems as below-
Please go through the below links-
developer.android.com/guide/topics/ui/custom-components.html- (add http:// in the beginning)
developer.android.com/resources/tutorials/views/index.html - (add http:// in the beginning)
In the first link ListView is included as Widget and in the Second link ListView has been shown as Layout.
So, is ListView is Widget(View) or Layout(Viewgroup)?
Same is the case for Spinner in Andriod
developer.android.com/resources/tutorials/views/hello-spinner.html- (add http:// in the beginning)
(Link- says Spinner is Widget(View))
developer.android.com/guide/topics/ui/layout-objects.html- (add http:// in the beginning)
says Spinner is Layout(ViewGroup)
So, Spinner is View or ViewGroup?
Please update me with your views?