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

API变化有点大... #2

Open
liuli19920328 opened this issue Aug 24, 2024 · 4 comments
Open

API变化有点大... #2

liuli19920328 opened this issue Aug 24, 2024 · 4 comments

Comments

@liuli19920328
Copy link

API变化有点大,升级最新版本后,代码一路爆红...

@xia-weiyang
Copy link
Owner

API变化有点大,升级最新版本后,代码一路爆红...

实在不好意思,你可以选择不升级,最近改动是减少其它库的依赖,目的是为了在桌面端多窗口中使用

@liuli19920328
Copy link
Author

最新1.2.3版本onPageChanged不返回Widget了,改成TipWidget了,在旧版本中我在onPageChanged方法中返回 含有当前页码(onPageChanged方法参数返回)的Widget,但最新版本好像做不到了,在onPageChanged方法返回下标时需要动态刷新TipWidget,这好像有点麻烦...

@liuli19920328
Copy link
Author

image

@xia-weiyang
Copy link
Owner

最新1.2.3版本onPageChanged不返回Widget了,改成TipWidget了,在旧版本中我在onPageChanged方法中返回 含有当前页码(onPageChanged方法参数返回)的Widget,但最新版本好像做不到了,在onPageChanged方法返回下标时需要动态刷新TipWidget,这好像有点麻烦...

最新代码已经提交,晚点发布新版本,请看这里。

tipWidget: (currentIndex) {

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

2 participants