Kotlinで書いているアプリで、Retrofit2 + OkHttp3でRSSを取得したときのめも。最初、うまくパースされなくてKotlinの問題なのかRetrofitの書き方の問題なのかコンバータのSimpleの書き方の問題なのかわからなくてちょっとハマってしまいました。 取得する対象は、はてなブックマークのRSSです。 http://b.hatena.ne.jp/Rei19/favorite.rss 準備 dependencies { ... compile 'com.squareup.okhttp3:okhttp:3.2.0' compile 'com.squareup.retrofit2:retrofit:2.0.2' compile 'com.squareup.retrofit2:adapter-rxjava:2.0.2' compile ('com.squareup.retr