I have a listview that I'm populating at runtime - and I want a listview item
to expand upon click (using a ViewStub).

And I have this strange thing happening - if I enter the Activity showing
the ListView, click on any item in the ListView except the last one, it
expands as desired, but the last item in the list disappears.

If however, you click on the last item on the list while it is visible, it
does not expand.

I've written a small sample that allows to reproduce this issue - it starts
with an activity that adds a new ListView item and changes to the ListView.
Inside the ListView you have the expansion mechanism, plus the ability to
remove an item (End Call). I realize the action bar isn't perfect (at times
it happens that it doesn't show my context options) but that's okay, I'm
only interested in the disappearing last item and why I cannot expand the
last item (even though in code everything works.. it just never shows up).

I've uploaded the fully working sample here:
https://skydrive.live.com/?cid=EAF6A98542EF6194&id=EAF6A98542EF6194!132
(latest zip file).



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/dynamic-listview-item-expansion-using-ViewStub-selectively-not-working-tp5711026.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to