facebook / facebook/litho

Lacking Recyclerview methods

Open
#528 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
7.8k
Forks
768
PR merge metrics
No merged PRs in 30d

Description

Hi! I would like to refactor a complex Viewgroup with a recyclerview inside; this Viewgroup has a strong interaction with the recyclerview because it can transfer or not touch events to it.
I'm using some methods that i'm not able to find in Litho, like:
findChildViewUnder
(LinearLayoutManager)findViewByPosition
getChildAdapterPosition
(LinearLayoutManager)onSaveInstanceState

Also i'm not able to share a touch event from ViewGroup (parent of RecyclerView) with Litho Recycler Component( with RecyclerView I use 'recyclerview.ontouchevent(event)' and so i'm able to scroll and at the same time consuming touchevent from parent ViewGroup)

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.