• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How do you show more than one layout in a listview?

ChicoFox

Newbie
Is this possible other than using only one layout and choosing which views in it to make visible and invisible based on a flag? Since you have to specify a layout in the constructor of the array adapter, I see this as the only way?

For example, say I want to have an editable text box and button in the first row of the listview, then have just a textview in the remaining rows.

Thanks for any help.
 
Back
Top Bottom