The last one seems feasible. I'll take a shot at it.

On Monday, September 23, 2013, Ari Lacenski wrote:

> In src/com/example/airportstatus/SecurityWaitTimeActivity.java:
>
> > +			}
> > +			
> > +			@Override
> > +	   		public void onFailure(Throwable e, JSONObject response) {
> > +				Log.d("DEBUG", "error" + response.toString());
> > +			}
> > +			
> > +		});
> > +	}
> > +
> > +	protected void getWaitTimes() {
> > +		TSAClient.getWaitTimes(code, new JsonHttpResponseHandler(){
> > +			@Override
> > +			public void onSuccess(JSONObject response) {
> > +				try {
> > +					ArrayList<WaitTime> waitTimes = WaitTime.fromJson(response.getJSONArray("WaitTimes"));
>
> About checkpoints that can't be correlated and therefore push a blank row,
> would you consider this?
>
>    -
>
>    Set checkpoints in the DB rather than handling them as JSON in memory
>    -
>
>    For each WaitTimes result:
>    -
>
>    Look up the checkpoint in the database (having already been set in
>    getCheckpoints)
>    -
>
>    If it can't be correlated, drop it from the list of waitTimes that
>    eventually goes into the adapter constructor
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sachishah/airportstatus/pull/10/files#r6530263>
> .
>


-- 
Sent Mobile-ly