Custom Adapter getView() method is not called

后端 未结 6 1169
悲&欢浪女
悲&欢浪女 2020-11-22 09:49

Here is the code of the fragment in which I am setting a custom adapter to the list.

There no errors but the ListView is empty. I have implemented

6条回答
  •  逝去的感伤
    2020-11-22 09:57

    I had the same problem. And after trying all tips above my getView was still not being called. So I tried to remove the ScrollView that I used outside the ListView. Then the getView worked well. Just for add one more posibility. I Hope help someone.

提交回复
热议问题