samedi 26 décembre 2015

Checkbox Listview for SpaRss

I Try customize "spaRSS" http://ift.tt/1eo1bVT, the default code of RSS option is

public void onClickOk(View view) {
    for (int topic = 0; topic < TOPIC_NAME.length; topic++) {
        if (((CheckBox) findViewById(CB_IDS[topic])).isChecked()) {
            String url = "http://ift.tt/1mFHU62" + Locale.getDefault().getLanguage() + "&output=rss";
            if (TOPIC_CODES[topic] != null) {
                url += "&topic=" + TOPIC_CODES[topic];
            }
            FeedDataContentProvider.addFeed(this, url, getString(TOPIC_NAME[topic]), true);
        }
    }

and The Result enter image description here

I want to add another Rss Feed, How?




Aucun commentaire:

Enregistrer un commentaire