How to set Custom Adapter in ListActivity?

49 views Asked by At

I am trying to implement a search dialog in which I am trying to search from a given API, by making OkHttp call. But in ListActivity, I am only able to use the default adapters. Is there any way to use the custom adapter?

1

There are 1 answers

1
ρяσѕρєя K On BEST ANSWER

Is there any way to use the custom adapter?

Create custom Adapter by extending BaseAdapter and pass it to setListAdapter.