Android ListView customized in a fragment

1

I have an application whose layout was done in tabs and in one of them I would like to implement ListView custom, but I could not because the tab JAVA class extends the fragment class % and to make the list I need to extend the class ListActivity , as in JAVA there is no multiple inheritance, I do not know how to do it.

I would like to know if it is possible to implement a% custom_default in a layout of type ListView ?

    
asked by anonymous 10.01.2017 / 11:30

1 answer

1

The answer is yes. There are a number of ways you can work around this, and if the problem is ListActivity then you can use ListFragment .

See here in the documentation .

    
10.01.2017 / 11:39