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 }
Both the README and sample app (XML layouts) says the Filter should use
itto match the view:viewFilter = { it !is LinearLayout }Or this doesn't work,
itbeing anAndroidView.it.viewmust be used instead:viewFilter = { (it as ScannableView.AndroidView).view !is LinearLayout }