block / block/radiography

Filtering isn't working in the sample app

Open
#147 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
899
Forks
55
PR merge metrics
No merged PRs in 30d

Description

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 }`

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.