evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.13k stars 453 forks source link

TableView Doesn't Work With MotionLayout? #365

Open luonglegs opened 3 years ago

luonglegs commented 3 years ago

Describe the bug Trying to do a collapsing header type of animation with MotionLayout but it doesn't seem like the TableView's touch listener is being propagated to the MotionLayout. It may be related to how there's multiple RecyclerViews set up in here overriding their touch listeners. Any possible solutions to this?

To Reproduce To be specific, in my layout I have a MotionLayout holding a View, Tablayout, and ViewPager2 (which inflates the TableView).

Expected behavior DragUp transition on MotionLayout works when user is dragging the TableView but it only works on Views outside of it.

Tools:

Zardozz commented 3 years ago

To have a hope of anybody looking at this problem you really need include or link to a minimum reproducible example app so the interaction between the components can debugged.