i have go through the three methods in Adapters classes.
- getView()
- newView()
- bindView()
what are the difference between those methods? please share some tutorial, sample code or logics to understand this. Thanks. i have to create a listview with the progressive icons. which adapter you suggest me to do that?
getView()returns theViewfor a row. For a custom subclass ofArrayAdapter, you typically overridegetView().For a custom subclass of
CursorAdapter, you could overridegetView(), but usually you overridenewView()andbindView()instead.newView()creates the row View andbindView()attaches the data for the specific position in theCursor‘s data set to that row.These concepts are covered (with more emphasis on
getView()) in this excerpt from one of my books.