radiography icon indicating copy to clipboard operation
radiography copied to clipboard

Filtering isn't working in the sample app

Open st-f opened this issue 4 years ago • 0 comments

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 }

st-f avatar Oct 26 '21 09:10 st-f