how to write a custom adapter in android?
Answer / Sachin Kumar Singh
To write a custom adapter in Android, create a class that extends BaseAdapter or RecyclerView.Adapter. Override the required methods (getCount(), getItem(), getItemId(), and getView()) to implement the desired behavior for your data source. In each getView() implementation, inflate the relevant layout and bind the data to the appropriate views.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the different storage methods in android?
What is decision structure?
What is a buildtype in gradle?
Describe the capabilities of ddms?
What options do the users get to save data in android?
Is android 4.0 still supported?
What are different data storage options are available in android?
How can I update my android device?
Which are location provider in android ?
What is android runtime?
State few disadvantages of android in the mobile market.
What is needed to make multiple choice list with custom view for each row?