Remove view argument from the onClickNativeThread method, as implies that the view could be safe to use in the method, which is running on the native thread (and so isn't).