Open rapps2468 opened 10 years ago
:+1: nice work overall. A few notes after checking out the code:
Here's a detailed Project 3 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. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together. We are close to a turning point in the course where you should be hitting a "critical mass" for your Android knowledge.
Does Java copy objects and arrays whenever you pass them as arguments to functions
Java is almost completely call by value. See here for more.
How about when you do an assignment e.g. Array someArray = anotherArray or Bitmap b = bitmapa?
If you assign one array to another, and you change one array the other will be changed as well for non-primitive values. The article explains.
Here's my project, just the base version.
Have a java question:
-Does Java copy objects and arrays whenever you pass them as arguments to functions (call by value?). How about when you do an assignment e.g. Array someArray = anotherArray or Bitmap b = bitmapa?
/cc @nesquena @timothy1ee