A simple, lightweight and easy to use library to parse rss feeds into your app.
This library requires minimum sdk version 9.
Also add Internet permission to your application manifest file.
Add this to your project level build.gradle file.
repositories {
maven { url "https://jitpack.io" }
}
Add this to your app level build.gradle file.
dependencies {
compile ('com.crazyhitty.chdev.ks:rss-manager:0.75'){
exclude module: 'stax'
exclude module: 'stax-api'
exclude module: 'xpp3'
}
}
private RssReader rssReader = new RssReader(this);
//load feeds
private void loadFeeds(String[] urls) {
rssReader.loadFeeds(urls);
}
@Override
protected void onDestroy() {
super.onDestroy();
rssReader.destroy();
}
@Override
public void rssFeedsLoaded(List<RSS> rssList) {
// Feeds loaded, do whatever you want to do with them.
}
@Override
public void unableToReadRssFeeds(String errorMessage) {
// Oops, library was unable to parse your feed url.
}
You can contribute to the development of this library by posting new bugs/issues or any feature requests that you would like to see in the library.
If your app uses this library and would like to get it featured here then just mail me at [email protected] with your app links and I will add it here. You can also mail me if you want new features.