Kotlin 1.2.21 + SimpleXml 2.3.0 - consume List error (must mark set get method)
I'm trying to consume XML using SimpleXML by Retrofit 2. After hours of struggling with Kotlin I decided to try Java version and the convert then to Kotlin. And Java version worked well... error: java.lang.RuntimeException: org.simpleframework.xml.core.MethodException: Annotation @org.simpleframework.xml.ElementList(data=false, empty=true, entry=, inline=true, name=entry, required=true, type=void) must mark a set or get method I need a Kotlin model class that will be able to consume that XML. Here's input: <feed> <entry> <id> someid </id> <published> somedate </published> </entry> <entry> <id>