Giter Site home page Giter Site logo

Comments (12)

yuruiyin avatar yuruiyin commented on July 19, 2024

你代码方便贴出来看看吗? @KaelInvoker

from appbarlayoutbehavior.

xing5933 avatar xing5933 commented on July 19, 2024

可能是你的design版本不对,你试试作者用的27.1.1没问题,我试了28的有问题,28的内部实现应该改了

from appbarlayoutbehavior.

KaelInvoker avatar KaelInvoker commented on July 19, 2024

@yuruiyin 我的是26.0.1

from appbarlayoutbehavior.

KaelInvoker avatar KaelInvoker commented on July 19, 2024

image
image
tablayout结合viewpager,viewpager的布局如下
image

from appbarlayoutbehavior.

yuruiyin avatar yuruiyin commented on July 19, 2024

可能是你的design版本不对,你试试作者用的27.1.1没问题,我试了28的有问题,28的内部实现应该改了

的确,28版本有问题。这几天抽空研究一下

from appbarlayoutbehavior.

yuruiyin avatar yuruiyin commented on July 19, 2024

可能是你的design版本不对,你试试作者用的27.1.1没问题,我试了28的有问题,28的内部实现应该改了

您好,新版本(v1.0.2)已经兼容design 28版本。

from appbarlayoutbehavior.

supercodeing avatar supercodeing commented on July 19, 2024

可能是你的design版本不对,你试试作者用的27.1.1没问题,我试了28的有问题,28的内部实现应该改了

您好,新版本(v1.0.2)已经兼容design 28版本。

@楼主,sdk28试了你的新版v1.0.2还是不行。不知道问题出在哪里了。
Runnable flingRunnable = (Runnable) flingRunnableField.get(this);
OverScroller overScroller = (OverScroller) scrollerField.get(this);
获取到的对象为什么一直都是null。field.get(this)得到的每次运行debug都是null。所以滑动问题没能解决。你试了吗

from appbarlayoutbehavior.

supercodeing avatar supercodeing commented on July 19, 2024

Failed to resolve: com.github.hackware1993:MagicIndicator:1.5.0这个三方的indicator下载不到?@@yuruiyin

from appbarlayoutbehavior.

yuruiyin avatar yuruiyin commented on July 19, 2024

Failed to resolve: com.github.hackware1993:MagicIndicator:1.5.0这个三方的indicator下载不到?@@yuruiyin

这个是demo中用到,如果下载不下来,可以修改demo,替换成原生的TabLayout

from appbarlayoutbehavior.

supercodeing avatar supercodeing commented on July 19, 2024

@yuruiyin 手指小幅向上,偶尔会出现短距离回弹。一起研究下原因啊?onnestedprefling已经调用了,但不知道为什么会回弹。

from appbarlayoutbehavior.

yuruiyin avatar yuruiyin commented on July 19, 2024

可能是你的design版本不对,你试试作者用的27.1.1没问题,我试了28的有问题,28的内部实现应该改了

您好,新版本(v1.0.2)已经兼容design 28版本。

@楼主,sdk28试了你的新版v1.0.2还是不行。不知道问题出在哪里了。
Runnable flingRunnable = (Runnable) flingRunnableField.get(this);
OverScroller overScroller = (OverScroller) scrollerField.get(this);
获取到的对象为什么一直都是null。field.get(this)得到的每次运行debug都是null。所以滑动问题没能解决。你试了吗

是不是被混淆了。需要保证support或者androidx相关类 不被混淆,否则反射就招不到那两个变量。具体混淆配置可以参考混淆相关配置

from appbarlayoutbehavior.

tmx0456 avatar tmx0456 commented on July 19, 2024

@yuruiyin 手指小幅向上,偶尔会出现短距离回弹。一起研究下原因啊?onnestedprefling已经调用了,但不知道为什么会回弹。

请问,这个问题你最后解决了么?怎么解决的?

from appbarlayoutbehavior.

Related Issues (7)

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.