BaseAdapter class wont setAdapter inside Asynctask - Android

后端 未结 4 545
谎友^
谎友^ 2020-12-02 02:52

I have asynctask that gathers usernames, comments, and numbers. It places them into strings and is then suppose to call a BaseAdapter class, create an adapter, and set the a

4条回答
  •  粉色の甜心
    2020-12-02 03:27

    Googling around, looking at this question looks like you might be returning a null view from your adapter's getView method. Try tossing some breakpoints into the getView method and figure out where you are returning a null view.

    Also, where are you storing the reference to the ctx_invitation in your BaseAdapter.

    In the constructor you might want to pass that in

提交回复
热议问题