I’m using the MergeAdapter from commonsware to put several views and one adapter into one list. By the way this is great. But I have problems to remove a particular view from the list. The MergeAdapter doesn’t have a method like removeView(int index) or removeView (View v).
How can I do this?
You’re right, there is no method like
removeView()– but what about settings its visibility toNONEand then sendingnotifyDatSetChanged()? I’ve used this technique in the past to handle UI changes at runtime.