Code Monkey home page Code Monkey logo

Comments (8)

leochuan avatar leochuan commented on July 17, 2024

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.

djnotes avatar djnotes commented on July 17, 2024

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.

djnotes avatar djnotes commented on July 17, 2024

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.

leochuan avatar leochuan commented on July 17, 2024

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

djnotes avatar djnotes commented on July 17, 2024

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.

leochuan avatar leochuan commented on July 17, 2024

Cause it haven't been uploaded.. I think it's done now.

from viewpagerlayoutmanager.

djnotes avatar djnotes commented on July 17, 2024

Still got the errors!

from viewpagerlayoutmanager.

leochuan avatar leochuan commented on July 17, 2024

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)

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.