ListView setAdapter has already been called 异常

前天更新一下软件,居然20%的错误率。汗。

友盟的错误列表显示:ListView setAdapter has already been called 异常。

错误最高是Android 4.1.1 系统。

原因就是我setHeaderView之前调用了setAdapter了。

我手机是Android4.4.4,这个问题在Android 4.4.4是没问题的,导致没发现。

评论好多闪退不开心。(>_<)

你可能感兴趣的:(ListView setAdapter has already been called 异常)