Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering isn't working in the sample app #147

Open
st-f opened this issue Oct 26, 2021 · 0 comments
Open

Filtering isn't working in the sample app #147

st-f opened this issue Oct 26, 2021 · 0 comments

Comments

@st-f
Copy link

st-f commented Oct 26, 2021

Both the README and sample app (XML layouts) says the Filter should use it to match the view:

viewFilter = { it !is LinearLayout }

Or this doesn't work, it being an AndroidView. it.view must be used instead:

viewFilter = { (it as ScannableView.AndroidView).view !is LinearLayout }

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

No branches or pull requests

1 participant