Can't set a Swift string as a TextView's text?

Sorry for the extreme basic question, but I’m trying to have a working POC of an Android app running my existing iOS Swift code and I’m stuck at the very beginning.

Tried to assign a textView’s text in the following way:
textView.Text = swiftString

Getting:
error E62: Type mismatch, cannot assign "String" to "Integer"
Which seems unexpected.

I tried to convert it to a java.lang.String or to a CharSequence - it then compiles but code seems to have no affect.

Any pointers?

Try calling textView.setText(swiftString) instead, text is a weird proprty on Android.

Thanks for the quick reply!

Solved the compilation issue, but it still doesn’t have any effect. Will continue troubleshooting :tired_face:

Thanks, logged as bugs://75428 to make setting the property work same as called setText, properly.

bugs://75428 got closed with status fixed.

Logged as bugs://i63403.

bugs://i63403 was closed as fixed.