All Projects → mengzhidaren → Recylerviewmultiheaderview

mengzhidaren / Recylerviewmultiheaderview

解决webView滑动冲突,支持与WebView,VideoView(miniVideo), HeaderView 嵌套使用

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Recylerviewmultiheaderview

React Native Web Webview
React Native for Web implementation of RN's WebView
Stars: ✭ 79 (-40.15%)
Mutual labels:  webview
3dsview
Android UI component to process banking 3D Secure (MasterCard SecureCode / Verified By Visa) payment authorizations in Android apps.
Stars: ✭ 96 (-27.27%)
Mutual labels:  webview
Pull To Refresh
ESPullToRefresh is developed and maintained by Vincent Li. If you have any questions or issues in using ESPullToRefresh, welcome to issue. If you want to contribute to ESPullToRefresh, Please submit Pull Request, I will deal with it as soon as possible.
Stars: ✭ 1,591 (+1105.3%)
Mutual labels:  webview
Flutter inappwebview
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
Stars: ✭ 1,259 (+853.79%)
Mutual labels:  webview
Iamport React Native
React Native용 아임포트 일반.결제 및 휴대폰 본인인증 모듈입니다.
Stars: ✭ 88 (-33.33%)
Mutual labels:  webview
Codeview
Codeview is an Android library that lets you preview code in webview very easy and simple with highlights and colors.
Stars: ✭ 103 (-21.97%)
Mutual labels:  webview
Parser Javascript
Browser sniffing gone too far — A useragent parser library for JavaScript
Stars: ✭ 66 (-50%)
Mutual labels:  webview
Mybrowser
我的浏览器,基于WKWebView实现的一个iOS浏览器,实现了无图模式、广告拦截、多窗口、扫描二维码、收藏夹/历史、无痕浏览、夜间模式等功能...
Stars: ✭ 127 (-3.79%)
Mutual labels:  webview
React Native Webview Crosswalk
Crosswalk's WebView for React Native on Android.
Stars: ✭ 92 (-30.3%)
Mutual labels:  webview
Spidereye
Cross platform .Net Core applications with a webview UI
Stars: ✭ 113 (-14.39%)
Mutual labels:  webview
Flutter browser app
A Full-Featured Mobile Browser App (such as the Google Chrome mobile browser) created using Flutter and the features offered by the flutter_inappwebview plugin.
Stars: ✭ 85 (-35.61%)
Mutual labels:  webview
Android Ssl Pinning Webviews
A simple demo app that demonstrates Certificate pinning and scheme/domain whitelisting in Android WebViews
Stars: ✭ 86 (-34.85%)
Mutual labels:  webview
React Native Webview Autoheight
WebView which sets it's height automatically with minimal efforts
Stars: ✭ 106 (-19.7%)
Mutual labels:  webview
Coolindicator
A dazzling indicator
Stars: ✭ 85 (-35.61%)
Mutual labels:  webview
Electron Webview
💻 A simple electron webview with cool features.
Stars: ✭ 115 (-12.88%)
Mutual labels:  webview
Journey
JCEF-powered cross-platform web browser
Stars: ✭ 68 (-48.48%)
Mutual labels:  webview
Unity Webview
主に gree/unity-webview のリファクタリング。本家を元に改良してく!
Stars: ✭ 102 (-22.73%)
Mutual labels:  webview
Yuuplayer
Android Youtube Player library without any dependency, webview based.
Stars: ✭ 130 (-1.52%)
Mutual labels:  webview
Webviewtbs
Android实现微信webview兼容Android 7.0。自带库文件不使用系统的可以全方位兼容各机型,实现二次封装,发布时间2017.
Stars: ✭ 124 (-6.06%)
Mutual labels:  webview
Kotlin Playground
Kotlin practice
Stars: ✭ 111 (-15.91%)
Mutual labels:  webview

本库是基于RecyclerViewHeader的扩展。 ###RecyclerView头View的ViewGroup,支持与WebView,Video,View 嵌套使用

特性

  1. webView完美嵌入RecyclerView
  2. RecyclerView和webView之间滑动惯性传递
  3. 滑动RecyclerView中视频切换为mini小屏
  4. 优化过渡绘制卡顿的问题

截图

HeaderVideo HeaderView

HeaderWebView

引入

  • Gradle
implementation 'com.yyl.multiview:recyclerview-multiheaderview:1.1.3'

开发

在xml中引用RecyclerViewMultiHeader(参考demo)

    <com.yyl.multiview.RecyclerViewMultiHeader
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:viewState="video"  
            app:videoScale="0.5625">//video 9/16
....
        </com.yyl.multiview.RecyclerViewMultiHeader>
    
viewState
  <attr name="videoScale" format="float" />//显示比例
<attr name="viewState">
     <enum name="video" value="0" />//按videoScale比例 显示headView    在全屏后自动撑满全屏
     <enum name="view_header" value="1" />//以childView最大高度为最终高度
     <enum name="web" value="2" />//childView为全屏  其中setRequestFullWeb(false)会在webView内容不足一屏时 不填充整个VIEW
     <enum name="view_header_top" value="3" />//以最顶层childView高度为最终高度
</attr>
// 设置视频监听。
    //视频小窗口开关
   public void setScreenSmallDisable(boolean stateVideoSmallDisable)
    //视频小窗口监听
   public void setOnVideoSmallCallBack(OnVideoSmallCallBack onVideoSmallCallBack)

    //取消关联
    detach() 

参考代码

本库的是以RecyclerViewHeader为基础在功能上做的扩展,感谢作者开源库。

License

MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].