So in Kotlin a == b should translate to a?.equals(b) ?: (b === null) . However comparing resources (resource == R.string.xxxx) seems to always return false even though manually stating resource.equals(R.string.xxxx) compares correctly. Why is that?
It is working as intented but i am not
06/21/2018, 12:19 PM
huh? can you please show some code?
06/21/2018, 12:25 PM
i had a resource list that had .filter for multiple resources. the == worked fine eventually, the issue was in my end.
06/21/2018, 12:28 PM
ah, allright then. good that you could solve your problem 🙂