How to create a custom adapter in Android? What is the class that I need to extend to create my own adapter?
Extend Adapter class
Extend Either one of the conceret Adapters or BaseAdapter
To create a own custom adapter, one can extend BaseAdapter, or can extend any of the existing concrete adapters like ArrayAdapter, SimpleCursorAdatper etc..
Note: we can also extend or implement other adapter interfaces, but it is not so useful. Generally extending BaseAdapter is enough to create our own custom adapter.
Back To Top