Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status updates #2

Open
kwaping opened this issue Jun 24, 2013 · 5 comments
Open

Status updates #2

kwaping opened this issue Jun 24, 2013 · 5 comments

Comments

@kwaping
Copy link
Collaborator

kwaping commented Jun 24, 2013

Let's post status updates here...

I've made a new Eclipse project using the "tabbed navigation" setting. Hopefully, that should help get us started. Unfortunately I had to select a minimum SDK version of 11 to get it to work, but I thought that was an acceptable tradeoff to get the project started more easily.

@kwaping
Copy link
Collaborator Author

kwaping commented Jun 24, 2013

Forgot to mention, you can add my code as a remote, git@github.com:kwaping/AndroidYaFood.git .

@kwaping
Copy link
Collaborator Author

kwaping commented Jun 26, 2013

Tony to-do: menu item fragment
Ollie to-do: preferences and listview fragment
Tony to-do: add data model for the rss feed

@tonytamsf
Copy link
Owner

Ollie,

I moved along, not fast enough

Take a look at what I have so far.

https://github.com/tonytamsf/AndroidYaFood/commits/master/YaFood

@kwaping
Copy link
Collaborator Author

kwaping commented Jun 28, 2013

@tonytamsf I'm working on the project right now, doing some layout cleanup. Check with me on IM before you start working! I'll send a pull request before I stop for the night.

@kwaping
Copy link
Collaborator Author

kwaping commented Jul 1, 2013

@tonytamsf I've been looking at the project and I have a good idea as to where the issue lies. In OverviewActivity.java line 223, you are trying to create stations out of the JSON return, but actually we need to first create an array of DayParts (breakfast, lunch, dinner) and then populate them with the individual station info. You almost had it - you created the stations array out of the dayPart JSON. So we'll need another array, dayParts, that contains txtDayPartDescription and a list of stations. Inside each station, there needs to be another list of tblItem objects.

tblMenu -> txtDayPartDescription, tblStation array -> txtStationDescription, tblItem array -> txtTitle, txtDescription, tblAttributes array -> txtAttribute.description

I don't have time to code right now, but if you don't get to it first, I will pick it up from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants