android开发 SwipeRefreshLayout中WebView下拉刷新和下拉有冲突

Android小屋 2016-09-03 05:09:21
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >

<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/swipe_container"
android:layout_width="match_parent"
android:layout_height="match_parent" >

<com.tencent.smtt.sdk.WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</android.support.v4.widget.SwipeRefreshLayout>

</FrameLayout>



这样写,做webview下拉刷新的时候,下拉刷新和下拉有冲突怎么解决啊?试了好久都没有解决..
...全文
846 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
海绵宝宝_ 2017-11-16
  • 打赏
  • 举报
回复
同样问题,楼主你解决了吗?
baidu_24578859 2016-09-19
  • 打赏
  • 举报
回复
同样问题,楼主你解决了吗?
Android小屋 2016-09-07
  • 打赏
  • 举报
回复
引用 3 楼 zhang106209 的回复:
你的wbview下拉有什么用吗?
混合开发的,webview加载js代码,做下拉刷新,然而在正常的都能加载,唯独公司自己的js代码有问题,唉,感觉被js坑了
zhang106209 2016-09-06
  • 打赏
  • 举报
回复
你的wbview下拉有什么用吗?
Android小屋 2016-09-06
  • 打赏
  • 举报
回复
十三邵 2016-09-05
  • 打赏
  • 举报
回复
我也不知道,帮你顶一下吧。。。

80,349

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧