Comments (8)
Could you be more specific ?? I tried about hundred of times it still work fine. Did you pressed the ok
button to see which one gets focused
from viewpagerlayoutmanager.
After about 8 loops that you scroll the items forward or backward, the scroll stops. It seems that disabling infinite scroll solves this and then you can scroll as many times as you want end to end (from beginning to end and from end to the beginning again).
from viewpagerlayoutmanager.
This seems to happen only for the my main list with three items. Others are fine. And by the way, I have set these attributes for my list item root layouts:
focusable="true" background="@drawable/selector"
from viewpagerlayoutmanager.
@jasonMisaq I find it will stop at position -ItemCount
every time, then I find getCurrentPosition
of -ItemCount
returned ItemCount
instead of 0
.
You could try version 2.0.8
later. I just fix that.
from viewpagerlayoutmanager.
The app does not compile with the new version. I get the following errors:
Error:(15, 20) error: package com.leochuan does not exist
Error:(16, 20) error: package com.leochuan does not exist
Error:(31, 13) error: cannot find symbol class CarouselLayoutManager
Error:(61, 13) error: cannot find symbol class CarouselLayoutManager
/home/johndoe/src/ZoodVideo/app/src/main/java/com/zood/mediaplayer/MusicListActivity.java
Error:(18, 20) error: package com.leochuan does not exist
Error:(19, 20) error: package com.leochuan does not exist
Error:(32, 13) error: cannot find symbol class CarouselLayoutManager
Error:(57, 13) error: cannot find symbol class CarouselLayoutManager
/home/johndoe/src/ZoodVideo/app/src/main/java/com/zood/mediaplayer/VideoListActivity.java
Error:(22, 20) error: package com.leochuan does not exist
Error:(23, 20) error: package com.leochuan does not exist
Error:(64, 13) error: cannot find symbol class CarouselLayoutManager
/home/johndoe/src/ZoodVideo/app/src/main/java/com/zood/mediaplayer/LibraryActivity.java
Error:(15, 20) error: package com.leochuan does not exist
Error:(16, 20) error: package com.leochuan does not exist
Error:(32, 13) error: cannot find symbol class CarouselLayoutManager
Error:(59, 13) error: cannot find symbol class CarouselLayoutManager
/home/johndoe/src/ZoodVideo/app/src/main/java/com/zood/mediaplayer/FilmGroupActivity.java
Error:(14, 20) error: package com.leochuan does not exist
Error:(15, 20) error: package com.leochuan does not exist
Error:(27, 13) error: cannot find symbol class CarouselLayoutManager
Error:(58, 15) error: cannot find symbol class CarouselLayoutManager
/home/johndoe/src/ZoodVideo/app/src/main/java/com/zood/mediaplayer/MainGroupActivity.java
Error:(15, 20) error: package com.leochuan does not exist
Error:(16, 20) error: package com.leochuan does not exist
Error:(17, 20) error: package com.leochuan does not exist
Error:(26, 13) error: cannot find symbol class CarouselLayoutManager
Error:(86, 15) error: cannot find symbol class CarouselLayoutManager
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Information:BUILD FAILED in 1s
Information:25 errors
Information:0 warnings
Information:See complete output in console
Cleaning and rebuilding the project did not work.
from viewpagerlayoutmanager.
Cause it haven't been uploaded.. I think it's done now.
from viewpagerlayoutmanager.
Still got the errors!
from viewpagerlayoutmanager.
Try to delete the gradle cache and re-sync the project.
If you use osx it may store at ~/.gradle/caches/modules-2/files-2.1/rouchuan.viewpagerlayoutmanager/viewpagerlayoutmanager
from viewpagerlayoutmanager.
Related Issues (20)
- 滑动到指定位置
- ViewPagerLayoutManager.mOrientation覆盖了父类的LinearLayoutManager.mOrientation
- 能实现每个iten的顶部都是水平的吗
- 如何基于CircleLayoutManager实现椭圆圆弧的效果呢 HOT 4
- How to stop auto scrolling? HOT 1
- ScaleLayoutManager第一次滑动的时候会导致recycleview子布局重现排版
- 如何一次只滑动一个item? HOT 2
- AutoPlayRecyclerView
- 显示多个item时 放大的item左右间距 跟其他item左右间距不一样 - ScaleLayoutManager
- 大于3个item时 放大的item左右间距与其他item左右间距不一样 - ScaleLayoutManager HOT 1
- good job!
- when items are only 3 then why it's scrolls and hide until first visible items rich to end
- 滑动到指定位置调用次数过多会卡死
- LeakCanary内存泄漏
- Big performance issue HOT 1
- CircleScaleLayoutManager
- Infinite status unavailable
- 有iOS的??
- 像小说阅读器那种仿真翻页能实现吗
- 使用PageSnapHelper并没有单页滑动
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 viewpagerlayoutmanager.