Question: please can answer this Question. 1- Creating a functional custom complex list in Android includes accomplishing three steps: create data source methods, create custom list
please can answer this Question.
1- Creating a functional custom complex list in Android includes accomplishing three steps: create data source methods, create custom list item layout, and create custom Adapter.
a) Explain why creating the custom Adapter is required instead of using the default ArrayAdapter.
b) State the required changes needed to test the custom adapter that holds Student objects.
PS: suppose the following:
- activity name is StudentsListActivity
- custom adapter name is StudentAdapter
- The data source method used to return the Student objects is called: ds.getStudents();
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
