Parsing XML response from RSS feed in Android have always been a bit complicated. All this issues are combiend in very good library RSS-Parser. As the repo says and in this example, “RSS Parser is an Android library to parse any RSS feed. With RSS Parser, you can fetch plenty of useful information from any RSS channel, be it a blog, magazine, or even a podcast feed“.

Step one:
Implement as dependancy in app/build.gradle

Step two:
Initialise Parser SDK:

This kind of implementation adds caching feature which can be very helpful if network is not available.

It needs to be wrap and launched with Coroutine function

And to clear the cache just flush it:

And if no caching is needed just build the Parser:


The library can be found on this link


Spread the love

Leave a Reply

Your email address will not be published.