haven't looked at your code but I thought it'd nice to mention that listview "reuses" views so if it's the last view on the screen but not the last view in the series it could be something to do with that. It could also have nothing at all to do with that. I've got a dozen things going on, where specifically, in your code are you setting up your listview. I'm just trying to impart this maybe an android issue ... can you paste bin your set up routine?
On Wed, Jul 25, 2012 at 9:58 AM, Stephan Steiner <stephan.stei...@gmail.com>wrote: > 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 > -- Extreme Knowledge is not something for which he programs a computer but for which his computer is programming him. -Wozniak
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid