-
Notifications
You must be signed in to change notification settings - Fork 502
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
框架与CoordinatorLayout,AppBarLayout组合嵌套问题 #136
Comments
有demo么? |
明天如果有空我抽出个demo给你看下效果,不知道是不是我的使用方式不对
…------------------ 原始邮件 ------------------
发件人: "huxq17"<[email protected]>;
发送时间: 2019年12月12日(星期四) 晚上8:00
收件人: "huxq17/XRefreshView"<[email protected]>;
抄送: "似笑非笑"<[email protected]>;"Author"<[email protected]>;
主题: Re: [huxq17/XRefreshView] 框架与CoordinatorLayout,AppBarLayout组合嵌套问题 (#136)
有demo么?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
好的 |
demo有4个界面,MainActivity是正常使用系统控件的联动效果,
SecondActivity是xrefreshview在外层嵌套时情况,
ThirdActivity是xrefreshview跟AppBarLayout同级别的情况,
FourActivity是模拟项目的真实布局,要达到截图的效果.框架里面XScrollView extends ScrollView ,有时要使用NestedScrollView嵌套listview或者gridview时达到一些效果,不知道框架里面这个继承是否可以改为新控件,这个嵌套也可以用recycleview代替,只是listview使用习惯了,顺手,只有listview达不到的效果的情况下,才使用recycleview,不知道其他人是怎样的,
…------------------ 原始邮件 ------------------
发件人: "huxq17"<[email protected]>;
发送时间: 2019年12月12日(星期四) 晚上8:06
收件人: "huxq17/XRefreshView"<[email protected]>;
抄送: "似笑非笑"<[email protected]>;"Author"<[email protected]>;
主题: Re: [huxq17/XRefreshView] 框架与CoordinatorLayout,AppBarLayout组合嵌套问题 (#136)
好的
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如上图,当上滑时,1的部分滑出去,2的部分固定到顶部,下面的列表可继续滑动(需要分页),然后想到系统的CoordinatorLayout,AppBarLayout,框架与CoordinatorLayout,AppBarLayout组合嵌套后就导致系统控件的效果失效了,如果是吧框架写在CoordinatorLayout内与AppBarLayout同级,然后框架嵌套listview或者recycleview,框架的自动上啦加载就失效了,
The text was updated successfully, but these errors were encountered: