-
Notifications
You must be signed in to change notification settings - Fork 1.3k
First issue: Fixed errors/warnings in FailedUploadFragments.kt #6000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
I am getting this crash when uploading a file, can you try? Thanks! |
|
Hi @KYash03, thanks a lot for contributing. |
| PendingUploadsContract.View, | ||
| FailedUploadsAdapter.Callback { | ||
| @Inject | ||
| lateinit var pendingUploadsPresenter: PendingUploadsPresenter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular reason in removing this? I don't see any lint/warnings over this.
|
@KYash03 Did you get a chance to read our comments? Feel free to fix only 1 or 2 errors at first. Thanks! :-) |
nicolas-raoul
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussion above
Hey, this is my first PR here. I worked on #5996
Made a few changes:
onCreateViewfromView?toViewif (contributionsList != null)checkscontributionsList,initAdapter, andinitRecyclerViewtoprivatecontributionsListfromvartovalsince it's never reassignedthisString.formatwith directgetStringcalls (only where formatting wasn't required!)list.isEmpty()instead oflist.size == 0elseblock ininitRecyclerViewWould appreciate any sort of feedback. Thanks!