Adapter methods in Android?

I went through three methods in adapter classes.

  • Getview ()
  • Newview ()
  • Bindview ()

What is the difference between these methods? please share some tutorials, sample code, or logic to figure this out. Thank you I need to create a list with progressive icons. What adapter do you suggest me to do?

+3
source share
1 answer

getView()returns Viewfor the string. For a custom subclass, ArrayAdapteryou usually override getView().

CursorAdapter getView(), newView() bindView(). newView() View bindView() Cursor .

( getView()) excerpt .

+7

Source: https://habr.com/ru/post/1743547/


All Articles