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

组件获取到的Fragment显示与UI顺序如何保证一直,我看你DEMO中是错乱的 #20

Open
LZK1991 opened this issue Apr 19, 2018 · 1 comment

Comments

@LZK1991
Copy link

LZK1991 commented Apr 19, 2018

我看了下,你是通过报名路径,你是拿到IapplicationDelegate的集合后,然后在基类Application的Create方法中For循环去执行实现了IapplicationDelegate的类的Create方法,然后添加Fragment到ViewManager。
我想问的是获取IapplicationDelegate集合中的类的排序如果不能保证,那添加到ViewManager的Fragment集合的Fragment的顺序也就无法保证,这样的话是不是还得根据UI的界面顺序对Fragment集合重做一次排序,在添加到viewpager

@guiying712
Copy link
Owner

你可以把保存Fragment的方式改一下,例如改成Map

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