If I uncomment adding of the adapter and do for ex...
# anko
j
If I uncomment adding of the adapter and do for example " categorySpinner.prompt = "test"" I don't get a crash. So it must be something with the adapter.