Comments (10)
这个跟进貌似一直走到系统的Interpolator里…
from circleindicator.
private Animator createAnimatorIn(Context context) {
Animator animatorIn;
if (mAnimatorReverseResId == 0) {
animatorIn = AnimatorInflater.loadAnimator(context, mAnimatorResId);
animatorIn.setInterpolator(new ReverseInterpolator());
} else {
animatorIn = AnimatorInflater.loadAnimator(context, mAnimatorReverseResId);
}
return animatorIn;
}
问题是出在这个ReverseInterpolator上,当界面finish的时候,持有了Context引用,这个我在其他机型上测试没有发现,只在一加的手机上出现了。
from circleindicator.
抱歉我没有一加手机来测试。
你可以试试在 View 的 onDetachedFromWindow 时把相关的 Animator 和 Interpolator 回收
from circleindicator.
LoopViewPager 滑动几页后手机会卡死。小米4,nexus 5 所有手机都是
from circleindicator.
@smallgirl 你是运行Sample里的LoopViewPager会卡死吗? 刚好有台 Nexus 5,但没有复现。
from circleindicator.
LoopViewPager 这个 快速滑动几页,我的nexus是6.01的系统 小米4是5.0的系统,就是滑到边缘的时候 会滑不动,或者出现下个页面的半屏幕 卡着。
from circleindicator.
@ongakuer 快速滑动 向右面滑动5-10个循环,然后向左滑动,没出现的话,再向右滑动
from circleindicator.
@smallgirl 复现了,你这是滑的速度实在有点夸张…在头尾替换的时候如果快速滑动会卡。这个是 LoopViewPager 的问题。
from circleindicator.
不只是速度的问题,滑到一定页数后,在往回慢滑动 也会卡,确实是LoopViewPager 的问题,循环viewpager的实现方式很多,自定view group 或者viewpager的adapter返回Integer.MAX_VALUE
from circleindicator.
恩,用LoopViewPager因为使用的人多。而且对外的暴露的数据是正确的。
from circleindicator.
Related Issues (20)
- RecyclerView + PagerSnapHelper HOT 1
- Circleinidcator2 is having unusal background colur HOT 1
- Circleindicator2 indicator is not visible when navigating to other screen and comes back HOT 3
- CircleIndicator2 with RecyclerView
- in recyclerview it is showing square not circle HOT 1
- Move away from jcenter since it'll be shutdown on May 1st 2021 HOT 8
- setViewPager error while working with viewPager2 HOT 2
- Does it have a scrool? HOT 1
- Gone selected indicator HOT 1
- cannot use with ConcatAdapter
- Active indicator is not being shown if a recycler view has 25 and more items
- There isn't any scroll if indicators count more then the screen able to fit
- Changing the color of the cirle
- In some cases it would be nice to have an access to `BaseCircleIndicator` class
- Changing color of circle in programatically HOT 2
- Gradle Implementation of CircularIndicator not working in minSdk 23
- Changing the size of the indicator icon HOT 3
- How to obtain the last indicator?
- CircleIndicator2 doesn't show after scrolling in recyclerview HOT 1
- 库大小
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circleindicator.