tushararora19 / ImageSearch

0 stars 0 forks source link

Image Search submission #1

Open tushararora19 opened 10 years ago

tushararora19 commented 10 years ago

@nesquena @timothy1ee

Please see the repository ImageSearch for app submission (Android Boot Camp). README file contains the features it can support.

Please let me know shortcomings and places where I can improve. Thanks.

nesquena commented 10 years ago

:+1: nice work. A few notes after checking out the code:

Also, here's a more detailed Project 2 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.

Let us know if you have any other thoughts or questions about this assignment. The next assignment (Twitter Client) will be especially important since it introduces the majority of the remaining pieces necessary to build a fully functional API client with complex feeds of data and user creation.

tushararora19 commented 10 years ago

@nesquena

Thanks for feedback Nathan !! Yes, downloading and sharing an image is something I look forward to complete. I'll also try to pass filters through serializable class.

Also, I have a quick question, if you can help me understand the concept (tried looking for answer online, but its not 100% clear): whats the difference between onCreate () method and onStart() method of an activity and when are each invoked and what is called after each one is completed ?

nesquena commented 10 years ago

whats the difference between onCreate () method and onStart() method of an activity and when are each invoked and what is called after each one is completed ?

onCreate is called once at the beginning of the lifecycle for the activity when the activity is first initialized in memory. This is where we should put one-time initialization code which is used when a new activity object is being created. onCreate is called only again when the activity is no longer in memory and must be re-created.

onStart is called whenever an activity comes into view. This means if I am using an app and I get a call which I pickup, the app will have onStop called and then when the user switches back, the activity is still in memory and is just being brought back to the foreground. onCreate is not called and onStart is called as soon as the activity becomes visible again.

lifecycle

See this article for more detail