I've come across parsing rss feed from https://hackernoon.com/feed and noticed that they have an empty image tag followed by media:thumbnail with the actual image.
The Android XML parser is crashing with NPE at that line trying to trim an null string
val text = xmlPullParser.text.trim()
I this PR I'am proposing an easy fix for that bug.
Hey, first of all thanks for the great library.
I've come across parsing rss feed from https://hackernoon.com/feed and noticed that they have an empty
image
tag followed bymedia:thumbnail
with the actual image. The Android XML parser is crashing with NPE at that line trying to trim an null stringI this PR I'am proposing an easy fix for that bug.