liaoinstan / SpringView

🔥 A custom view pull to refresh,support ScrollView,ListView,RecyclerView,WebView and all another views, easy to use
Apache License 2.0
1.93k stars 355 forks source link

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

Open whiskeyfei opened 5 years ago

whiskeyfei commented 5 years ago

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

liaoinstan commented 4 years ago

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

whiskeyfei commented 4 years ago

thanks!