How to set RSS feed to a set url not hashmap, in Busy Coder Feed Fragment Tutorial?

17 views
Skip to first unread message

Troy Walker

unread,
Jul 21, 2011, 9:35:07 AM7/21/11
to cw-android

The feed fragment was a great tutorial in fact one of my favorites.

Well my question is how do you make a dynamic feed in this tutorial
meaning that it stays the same all through application. with his the
feed url are in hashmaps?

So from his tutorial how would you add a url that would be there each
time the application is loaded?

Mark Murphy

unread,
Jul 21, 2011, 9:38:25 AM7/21/11
to cw-an...@googlegroups.com
On Thu, Jul 21, 2011 at 9:35 AM, Troy Walker <twalk...@gmail.com> wrote:
> Well my question is how do you make a dynamic feed in this tutorial
> meaning that it stays the same all through application. with his the
> feed url are in hashmaps?

The built-in five feeds in FeedsFragment are "the same all through application".

> So from his tutorial how would you add a url that would be there each
> time the application is loaded?

It already does this.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

Troy Walker

unread,
Jul 21, 2011, 9:42:01 AM7/21/11
to cw-android
Oh okay got it! Thanks alot mark.
I love your books man. I started with android about a year ago and
ever since picking up your books Ive been able to build amazing
applications. Im also part of your WareScription club. I just want to
say thanks for everything and taking the time to do this.

On Jul 21, 9:38 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Thu, Jul 21, 2011 at 9:35 AM, Troy Walker <twalkerj...@gmail.com> wrote:
> > Well my question is how do you make a dynamic feed in this tutorial
> > meaning that it stays the same all through application. with his the
> > feed url are in hashmaps?
>
> The built-in five feeds in FeedsFragment are "the same all through application".
>
> > So from his tutorial how would you add a url that would be there each
> > time the application is loaded?
>
> It already does this.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

Mark Murphy

unread,
Jul 21, 2011, 9:47:38 AM7/21/11
to cw-an...@googlegroups.com
On Thu, Jul 21, 2011 at 9:42 AM, Troy Walker <twalk...@gmail.com> wrote:
> I love your books man. I started with android about a year ago and
> ever since picking up your books Ive been able to build amazing
> applications. Im also part of your WareScription club. I just want to
> say thanks for everything and taking the time to do this.

You are very welcome!

--

Reply all
Reply to author
Forward
0 new messages