Coder Social home page Coder Social logo

caifuhao / liandongdemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chishengcan/liandongdemo

0.0 0.0 0.0 2.03 MB

商城中很常见的效果:上下列表的联动效果(实现的效果是上方的指示器切换到对应的Tab时,下方的RecyclerView滚动到对应Tab的条目;下方的RecyclerView滑动时,上方的指示器切换到对应的Tab)

Kotlin 41.65% Java 58.35%

liandongdemo's Introduction

LianDongDemo

商城中很常见的效果:上下列表的联动效果(实现的效果是上方的指示器切换到对应的Tab时,下方的RecyclerView滚动到对应Tab的条目;下方的RecyclerView滑动时,上方的指示器切换到对应的Tab) 直接放我项目的效果图: Image text

项目的代码就不给大家展示了,我写了一个Demo;上图:

Image text

OK就这样,是不是很酷,感觉好多商城都有这个效果。注意代码是kotlin编写的。如果你还需要Title悬停,请Issue,我把代码单独发给你。

Demo下载地址:

Image text

liandongdemo's People

Contributors

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