alibaba / UltraViewPager

UltraViewPager is an extension for ViewPager to provide multiple features in a single ViewPager.
MIT License
5k stars 678 forks source link

此处container未移除子child #139

Open JackyMR opened 4 years ago

JackyMR commented 4 years ago

https://github.com/alibaba/UltraViewPager/blob/c16d1d401d3ba5420281db63c61461143007cd79/ultraviewpager/src/main/java/com/tmall/ultraviewpager/UltraViewPagerAdapter.java#L146

往往在这个重写方法里会去写container.removeView(object),但是此处的object(在instantiateItem创建的RelativeLayout)只是移除他的子view,并未将它从viewpager中移除。(ps:大佬们,这个lib还在继续维护吗?)

Livingroom507 commented 4 years ago

Download it to study