GithubHelp home page GithubHelp logo

用手滑动的时候,底部的菜单没有变化,当开启动画的时候,滑动到最边缘的时候。 about bottomnavigationviewex HOT 2 CLOSED

ittianyu avatar ittianyu commented on June 27, 2024
用手滑动的时候,底部的菜单没有变化,当开启动画的时候,滑动到最边缘的时候。

from bottomnavigationviewex.

Comments (2)

ittianyu avatar ittianyu commented on June 27, 2024

没明白你的意思,手动滑动的是ViewPager还是什么?如果是ViewPager,你可以下载整个工程,里面配合ViewPager的例子。如果是其他的控件,你需要在滑动的时候,调用底部导航条的 setCurrentItem来设置当前选中的位置。
滑倒边缘时,默认ViewPager是不能循环滑动的,如果要,你可以查找相关资料,有实现ViewPager无限循环滑动的方法。
如果菜单数>3,默认是开启了所有动画的;小于等于3,则只有shiftingMode和itemShiftingMode没开启。
本库只是用反射对官方的库进行了方法的扩展,并没有直接修改官方库里面的代码哦。

如果上述说明无法帮你解决问题,你可以联系我QQ 86839868 或者 微信 ittianyu,记得把截图发出来,容易明白你的意思。

from bottomnavigationviewex.

ittianyu avatar ittianyu commented on June 27, 2024

如果没有其他疑问,我就先关闭这个问题了。感谢您的反馈。

from bottomnavigationviewex.

Related Issues (20)

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.