Pergunta

I am creating a listview of Switch objects, Switch objects contain textview properties, do I need a custom adapter or can I just use a simple adapter?

Foi útil?

Solução

Simple adapter has a content view called CheckedTextView. If you need to use a specific view that android pre defined layouts doesn't support then yes, you need to customise it.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top