We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e803a67 commit 194f0e2Copy full SHA for 194f0e2
library/src/main/java/com/omega_r/bind/model/binders/Binder.kt
@@ -41,6 +41,9 @@ abstract class Binder<V : View, M> {
41
@Suppress("UNCHECKED_CAST")
42
protected fun <T> Any?.findValue(item: Any?, properties: Array<out KProperty<*>>): T? {
43
var obj: Any? = item
44
+ if (obj == null || obj::class.java === Any::class.java) {
45
+ return null
46
+ }
47
for (property in properties) {
48
obj = property.call(obj)
49
if (obj == null) {
0 commit comments