ometa / codepath-week2-project

Build a google image search application!
0 stars 0 forks source link

Feedback #2

Open ometa opened 8 years ago

ometa commented 8 years ago

[4:19 PM] Anthony Caliendo: hey, so for https://github.com/ometa/codepath-week2-project/blob/master/app/src/main/java/org/ometa/imagesearche... ... you can avoid doing all that if you use the RequestParams in the AsyncHttpClient then, you treat it as a map of keys -> values and it handles all the legwork for you

ometa commented 8 years ago

here is an example of using them, in case you're curious: https://github.com/AnthonyCaliendo/google_image_search/blob/master/app/src/main/java/com/anthonycaliendo/googleimagesearch/service/ImageSearchClient.java#L185-L217 I also pulled the nullchecks into the model