0
How do I use setViewBinder in my Adapter? In Simplecursoradapter I can:
SimpleCursorAdapter adapter = new SimpleCursorAdapter(getActivity().getBaseContext(), R.layout.lista_chamados, cursor, from, to);
setListAdapter(adapter);
adapter.setViewBinder(new SimpleCursorAdapter.ViewBinder(){
public boolean setViewValue(View view, Cursor cursor, int columnIndex){
}
return false;
}
});
But on my Adapter I can’t. How should I?
What is the class of your
Adapter? In the API, only theSimpleCursorAdapterand theSimpleAdapteraccept this interface. In the case of yourAdapter, could extendSimpleAdapterto use this interface.– Wakim
What would be the super class of this class?
– Wakim
@Wakim I’m not getting an extension
SimpleAdapterto do so. There is another way to customize a listview object as you would withsetViewBinder?– Emerson Barcellos