android-ibc-forum

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 84927ebcec365ff06199805f84c8271df8d2b4d4
parent ce82d2d2332ef8c72f19904d66960328cfd4ab56
Author: Jan Dankert <devnull@localhost>
Date:   Tue,  7 Feb 2012 03:44:18 +0100

Fix: Caching des RSS-Feed.

Diffstat:
src/de/mtbnews/android/IBCActivity.java | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/de/mtbnews/android/IBCActivity.java b/src/de/mtbnews/android/IBCActivity.java @@ -101,8 +101,13 @@ public class IBCActivity extends ListActivity { if (((IBCApplication) getApplication()).newsFeed != null) { - // Nicht nochmal laden. - // TODO: Reload-Funktion. + RSSFeed feed = ((IBCApplication) getApplication()).newsFeed; + IBCActivity.this.setTitle(feed.getTitle()); + + ListAdapter adapter = new ListEntryContentAdapter( + IBCActivity.this, feed.getItems()); + setListAdapter(adapter); + return; }