Giter Site home page Giter Site logo

yzw20110902 / richweblist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 756718646/richweblist

0.0 1.0 0.0 4.08 MB

webview + RecycleView 仿今日头条/网易新闻文章详情页面

License: Apache License 2.0

Java 81.58% HTML 0.48% JavaScript 13.79% CSS 4.15%

richweblist's Introduction

仿今日头条/网易新闻文章详情页面

使用WebView+RecyclerView组合,嵌套滚动。滚动机制基于HeaderViewPager,在dispatchTouchEvent中进行事件处理。 除了RecyclerView还支持ListView等。

  • 支持url或者html标签填充
  • 填充的html图片支持点击回调
  • 支持修改加载失败的默认图

更新记录: 20180920 添加空列表限制方案

文档待续完成中。。。

待完成功能:

  • 1,video标签全屏适配
  • 2,滑动webView过程中图片懒加载
  • 3,移动网络不加载图片,点击加载图片
  • 4,定位阅读位置

参考资料:

richweblist's People

Contributors

756718646 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.