Coder Social home page Coder Social logo

Comments (5)

falnatsheh avatar falnatsheh commented on May 22, 2024

I'm using EcoGallery in my app (Motion) and actually I recently saw an issue when I set text view from EcoGallery onItemSelected, the gallery will snap to the center (if I comment the code it works fine). Do you do any work onItemSelected? I want to know if you are seeing the same behavior so I could try to fix it.

from ecogallery.

BenjaminOrenstein avatar BenjaminOrenstein commented on May 22, 2024

I can verify that the issue occurs (or occured as of several months ago) with onItemSelected

from ecogallery.

Gryzor avatar Gryzor commented on May 22, 2024

Take a look at my fork: https://github.com/Gryzor/TimelineGallerySample

Some devices (notably API level 16 and 17) issue a requestLayout when any of the views are changed (so when the library does a SnapToCenter a relayout is issued, this causes the gallery to jump and snap immediately).

Make sure you're using (look at the sample) a special ImageView for your gallery items that don't do anything on requestLayout.

from ecogallery.

falnatsheh avatar falnatsheh commented on May 22, 2024

@Gryzor Makes sense, are you still maintaining your fork?
I'm evaluating if I should continue support the library since I'm changing my app design and will no longer need Gallery view and it would be helpful to point developers to maintainable fork.

from ecogallery.

Gryzor avatar Gryzor commented on May 22, 2024

@falnatsheh Nah, I just want the gallery to disappear from the face of the planet ;) I have used it for a while until I managed to make the ViewPager work the way I wanted. (Took me a while tho').

I don't mind looking at Pull Requests and maintaining it, but I can't make any "implement me this feature" promises. I just made the gallery "work" but there's no way to fix that hacky thing without a complete rewrite (which nobody seems interested in doing given that the 'alternatives' seem to be 'good enough').

from ecogallery.

Related Issues (14)

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.