Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi_page_scale 模式 添加数据后Scale位置错乱 #322

Open
786907872 opened this issue Sep 16, 2023 · 3 comments
Open

multi_page_scale 模式 添加数据后Scale位置错乱 #322

786907872 opened this issue Sep 16, 2023 · 3 comments

Comments

@786907872
Copy link

app:bvp_page_style="multi_page_scale"
app:bvp_reveal_width="28dp"
app:bvp_page_margin="14dp"
这种样式 在addData或refreshData后 如果currentItem在中间 则会出现它的下一个Item放大选中现象
img_v2_ed2e6d7c-e624-41a6-acce-35ca50b390bg

@WShuo051X
Copy link

我也遇到了同样的问题

@davidgerka
Copy link

同问,调用refreshData方法,也会出现这个问题。但是如果是调这两个方法来刷新数据就无问题:mBannerPagerAdapter.setData(list);
mViewPager.setAdapter(mBannerPagerAdapter);
可以修复一下refreshData方法吗😂

@davidgerka
Copy link

估计是受MarginPageTransformer影响了,但是刷新数据时,貌似没有触发这个Transformer,导致界面异常了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants