AndroidVeil icon indicating copy to clipboard operation
AndroidVeil copied to clipboard

Support for nestedScrollingEnabled attribute in VeilRecyclerFrameView

Open waffiqaziz opened this issue 1 year ago • 1 comments

Currently, the VeilRecyclerFrameView component from the AndroidVeil library does not support the nestedScrollingEnabled attribute. This limitation poses challenges when attempting to use the view in scenarios that involve nested scrolling, such as embedding it inside a NestedScrollView.

Expected Behavior: When setting nestedScrollingEnabled to true or false on a VeilRecyclerFrameView:

  • The component should respect this attribute and support nested scrolling behavior accordingly.
  • This would allow smooth scrolling interactions when nested within parent scrollable views.

Actual Behavior: The nestedScrollingEnabled attribute has no effect on VeilRecyclerFrameView.

Proposed Solution : Add support for the nestedScrollingEnabled attribute within the VeilRecyclerFrameView component by implementing the necessary NestedScrollingChild interfaces or delegating scrolling behavior to an underlying RecyclerView with support for nested scrolling.

waffiqaziz avatar Nov 10 '24 15:11 waffiqaziz

I also relize VeilRecyclerFrameView also doesn support clipToPadding

waffiqaziz avatar Nov 23 '24 13:11 waffiqaziz