SpringView icon indicating copy to clipboard operation
SpringView copied to clipboard

Header 和 Footer imagevieew id 一致会导致动画不执行问题,提醒

Open whiskeyfei opened this issue 5 years ago • 2 comments

如果你的上拉和下拉都使用统一Header并且使用了序列帧,你的Imageview Id 一定不要相同,否则会出现footer 动画不执行问题

whiskeyfei avatar Mar 23 '19 05:03 whiskeyfei

Header/Footer的getView方法中inflate,如果传true,并且你的header/footer布局中有相同id就会冲突。 推荐这里用false。 inflater.inflate(R.layout.acfun_footer, viewGroup, false);

liaoinstan avatar Dec 16 '19 08:12 liaoinstan

thanks!

whiskeyfei avatar Dec 16 '19 13:12 whiskeyfei