Rúben Sousa

Results 42 comments of Rúben Sousa

This should be resolved with the following now that fragment is on 1.6.0-alpha04: ```groovy debugImplementation("androidx.fragment:fragment-testing-manifest:1.6.0-alpha04") androidTestImplementation("androidx.fragment:fragment-testing:1.6.0-alpha04") ```

Hi @HarshaliSachani Can you explain why you want to use this library for a mobile app? Which feature are you missing from the standard RecyclerView library?

@HarshaliSachani If you're building 2 different apps (tv and mobile), I wouldn't combine `DpadRecyclerView`. I only introduced basic touch support for this component. So my advise is to stick with...

@HarshaliSachani any update here?

Which views are you marking as focusable? If it's the root view of your ViewHolder, focus should persist there. A sample here would also help

You shouldn't use `android:descendantFocusability="afterDescendants` if the focus should stay in that view. Please remove that or replace it with `beforeDescendants`

You can also figure out where the focus is being held with the developer option "Show layout bounds". This should show you a cross on the view that's receiving focus....

If this still didn't work, I would appreciate a drawing with the problematic focus states please. Show me where the focus is held when you fast scroll. `setSmoothFocusChangesEnabled(false)` will trigger...

Looks like you're updating the adapter while fast scrolling. Are you using `DiffUtil` to apply diffing or requesting focus somewhere else? **Please enable the "Show layout bounds" and then upload...

@fankloano No, you don't. Just create a similar project in github that reproduces the problem so I can investigate. You don't need to copy your real app