Code Monkey home page Code Monkey logo

Comments (8)

mikepenz avatar mikepenz commented on May 26, 2024

@seba123neo could you please provide the issue as a small sample so I could debug it?

I can not reproduce this in any of the sample apps, neither in apps which are in production already. Also the MaterialDrawer does not show this issue.

from fastadapter.

sebastianperdomo avatar sebastianperdomo commented on May 26, 2024

it's probably my mistake, I'm missing something, I need to know what I'm missing.

now I upload the code I'm using.

from fastadapter.

sebastianperdomo avatar sebastianperdomo commented on May 26, 2024

This is the code of the example
app.zip

from fastadapter.

mikepenz avatar mikepenz commented on May 26, 2024

@seba123neo I can't see the issue with your sample either. If I click on the first item the toast will show "Item1" and if i click on the second it will show "Item2"

from fastadapter.

sebastianperdomo avatar sebastianperdomo commented on May 26, 2024

yes, the toast works fine, but the "click effect" is show in the other item.

from fastadapter.

sebastianperdomo avatar sebastianperdomo commented on May 26, 2024

Look the video
20160206_161547.zip

from fastadapter.

mikepenz avatar mikepenz commented on May 26, 2024

@seba123neo seems like a weird issue of the CardView. Somehow it does not show the click, neither does it show the ripple by default. seems like you would have to apply the ripple on your own.

I have modified your demo to show a touch effect.

demo.zip

I also have the description why it looked like the effect was always one off. If you click, the default behavior is that the FastAdater selects this item. So the view is in a selected state. (i disabled this now with withSelectable(false), so there will be no selected state, you can enable it again if you want)
If you now select the second item, the previous item is deselected, and this sometimes displayed the ripple.

So what I've done. I added a background to the CardView which has a touch color state, and a selected state. it will now probably display those things

from fastadapter.

sebastianperdomo avatar sebastianperdomo commented on May 26, 2024

now works, thanks for the explanation !!! thanks for your time
keep it up

from fastadapter.

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.