Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Focus issue using collection view #57

Closed
thedumbtechguy opened this issue Sep 30, 2014 · 1 comment
Closed

Focus issue using collection view #57

thedumbtechguy opened this issue Sep 30, 2014 · 1 comment

Comments

@thedumbtechguy
Copy link

I'm trying to reuse the Collection view in my application. I've used your own views and all and it works fine. The only issue I'm having is, when I click an item in a multi column row, the entire row gets highlighted.

I've tried everything but it doesn't seem to work. I can't post any code as I'm on mobile and it didn't occur to me to ask on here until I left the office.

However, it just occurred to me I'm doing something g different. I'm not only creating rows with different columns, but I'm adding headers as well. Could this be the cause?

Any pointers on where to look will be great.

@thedumbtechguy
Copy link
Author

I finally got back to my desk and figured it out. You need to bind an onclick handler to the root view else the focus is bubbled to the linear layout that makes the list row.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant