[android-developers] Re: Change item in Listview after clicking

2010-04-10 Thread Pinheiro
Gotcha! Thanks, Mark! Unfortunately, it solves half the problem. When clicked, the hidden objects appear but the older selection doesn't disappear: private int selection=-1; ... public void onListItemClick(ListView parent, View v,int position, long id) { TextView tv; View

Re: [android-developers] Re: Change item in Listview after clicking

2010-04-10 Thread Mark Murphy
Pinheiro wrote: Anyway, it seems I'll have to rethink my list since objects defined as invisible in the layout nevertheless occupy screen space (!). There is a separate visibility level of GONE that makes the widgets, well, gone. -- Mark Murphy (a Commons Guy) http://commonsware.com |