Conversation
…rpose of the class
There was a problem hiding this comment.
Note about jetpack compose:
As apart of my review, I attempted to integrate jetpack compose and refactor the MainActivity class. Theoretically, you should be able add compose to an existing project, but I wasn't able to get it to fully working with the time I had. As to not increase technical debt, I did not include the work I did trying to add compose. If you guys decide to create UI elements with compose moving forward, Here's a helpful reference I found: https://stackoverflow.com/questions/61559352/add-jetpack-compose-to-existing-project I believe we may need to utilize compose as part of our final project requirements, so just something to think about.
| implementation 'com.google.android.material:material:1.5.0' | ||
| implementation 'androidx.constraintlayout:constraintlayout:2.1.3' | ||
| testImplementation 'junit:junit:4.13.2' | ||
| testImplementation 'androidx.arch.core:core-testing:2.1.0' |
There was a problem hiding this comment.
Added an additional test dependency so the test you guys had could run and pass
|
|
||
| implementation 'com.squareup.retrofit2:retrofit:2.8.2' | ||
| implementation 'com.sqeareup.retrofit2:converter-gson:2.7.1' | ||
| implementation 'com.squareup.retrofit2:converter-gson:2.7.1' |
There was a problem hiding this comment.
Fixed spelling issue so dependency would register
| @SerializedName("boxOfficeGross") var boxOfficeGross: Double, | ||
| @SerializedName("openingWeekendGross") var openingWeekendGross: Double, | ||
| @SerializedName("distributor") var distributor: String) { | ||
|
|
There was a problem hiding this comment.
Restructured the dto according to kotlin coding conventions: https://kotlinlang.org/docs/coding-conventions.html#class-headers
| */ | ||
| class ExampleUnitTest { | ||
| class MovieIntegrationTest { | ||
|
|
There was a problem hiding this comment.
Renamed 'ExampleUnitTest' to 'MovieIntegrationTest'. Currently, there isn't any unit testing going on and based on the example test you guys have, I assume integration tests will go here in the future, so I thought the name 'MovieIntegrationTest' fit better.
There was a problem hiding this comment.
Good idea... provided there are tests in here.
|
Several good suggestions, worth considering merging this branch. |
Analysis of the program
Overall, good start to an app!
Was the program available in UC Github on time?
Looked like work was being done in the repository up until the day of the due date, so I tried to wait until the final day before reviewing
Is the program documented/commented well enough for you to understand?
Overall, documented well: there are some comments throughout the project and the naming conventions made most files and variables self explanatory
Does the program compile?
Yes
Rationale behind my changes
All of these changes aim to reduce technical debt of the in-progress project and allow it to be more readable as well as allow more functionalities to work
Three technical concepts I learned
Three of my commits