Issue using setEmptyView on a ListActivity

后端 未结 3 2031
抹茶落季
抹茶落季 2020-12-30 18:19

I have the following setup, and the empty view text doesn\'t show up...

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstance         


        
3条回答
  •  难免孤独
    2020-12-30 18:59

    Shouldn't

    be

    ? I don't know if that makes any difference.

    Are you sure that setListAdapter(null); actually initializes the Adapter, rather than just ignoring the command?

提交回复
热议问题