ListFragment does not accept my layout

前端 未结 10 1385
情歌与酒
情歌与酒 2020-12-01 02:09

According to this link: ListFragment android developers

I want to set my custom layout for list, but it makes exceptions.

Here is the code:

p         


        
10条回答
  •  生来不讨喜
    2020-12-01 02:59

    This sounds like an issue that's been reported to Google already.

    Google Issue

    If this is indeed your issue, there's a couple of suggestions at the bottom of that page for fixing it (well, more making it work than fixing it).

提交回复
热议问题