android - Problem in Activity with Spinner and ListView -


my activity has spinner , custom listview , both sourced custom arrayadapters (arraylist of custom objects). listview rows custom views (just 2 textviews).

when include line, spinner.setadapter(spinnerarrayadapter); listview not filled data on screen , spinner contains values want.

when remove line, spinner.setadapter(spinnerarrayadapter); listview filled data want , spinner not contain values.

when debug, see data in listview's custom arrayadapter variable , spinner's custom arrayadapter.

i have checked getview() implementation listview's custom arrayadapter class.

suggestions?

thanks in advance!

can paste code identify problem. tested 2 listviews , spinner pointing same adapter. worked fine me.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -