Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top