-
Notifications
You must be signed in to change notification settings - Fork 1
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
Comments
Forgot to mention, you can add my code as a remote, git@github.com:kwaping/AndroidYaFood.git . |
Tony to-do: menu item fragment |
Ollie, I moved along, not fast enough Take a look at what I have so far. https://github.com/tonytamsf/AndroidYaFood/commits/master/YaFood |
@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. |
@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. |
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.
The text was updated successfully, but these errors were encountered: