Open zionFiv opened 1 year ago
I dont think there is a simple solution for this problem.
But i do have some elaborate ideas:
1) Disable recyclerview scroll when user scrolls scrollable views (only y axis is enough recyclerview doesnt intercept scrolls x axis) in youtubeplayerview.
In summary check visibility of scrollable elements and get their coordinates check if element is visible and inside the touch coordinates then it means user wants to scroll but if the scrollable element is not visibile or not in the touched coordinates then means user wants to scroll recyclerview so enable recyclerview scroll.
Btw to implement this idea you will need to edit the html and add a callback and send touched coordinates to js ext. which means you are gonna have to edit the library
错误报告
当 YouTubePlayerView 在 NestedScrollView 或 RecyclerView 中时,设置对话框无法滚动
有什么解决办法吗?
或者如果我想隐藏设置按钮我该怎么办
YouTube 播放器库版本:12.1.0
小伙子 你可以使用自定义布局来实现隐藏
Please let's stick to using english so everyone can understand.
can use custom layouts to achieve hiding.
Bug Report
when YouTubePlayerView in NestedScrollView Or RecyclerView, settings dialog can't scroll
is there any solution ?
or what should i do if i want hide setting button
Youtube Player Library Version: 12.1.0