Git Product home page Git Product logo

nestedscrollingparent2layout's Introduction

概要:

滑动嵌套通用解决方案:提供常见三种RecyclerView滑动嵌套布局、也可自定义。

详细见我的blog: https://blog.csdn.net/hfy8971613/article/details/105331221

依赖

implementation 'com.hfy.nestedscrollinglayout:nestedscrollinglayout:1.0.1'

使用说明

1、 NestedScrollingParent2LayoutImpl1 使用场景:处理 header + tab + viewPager + recyclerView,且保证 recyclerView复用机制不失效

2、NestedScrollingParent2LayoutImpl2 使用场景:处理 header + recyclerView 的 嵌套滑动,且保证 recyclerView复用机制不失效

在这里插入图片描述

3、 NestedScrollingParent2LayoutImpl3 使用场景:处理RecyclerView 套viewPager, viewPager内的fragment中 也有RecyclerView,处理外层、内层 RecyclerView的嵌套滑动问题,类似淘宝、京东首页。

在这里插入图片描述

4、 NestedScrollingParent2Layout 使用场景:可继承此layout写自己的滑动逻辑即可。

关于我

我的CSDN

公众号:胡飞洋 公众号:胡飞洋

nestedscrollingparent2layout's People

Contributors

hufeiyang 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.