| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This pull request introduces a new resumable upload progress tracking API, including the ResumableUploadProgressListener interface, the ResumableUploadStatus AutoValue class, and comprehensive unit tests. The feedback suggests adding a package-private constructor to ResumableUploadStatus to prevent external subclassing and preserve immutability.
Sorry, something went wrong.
| @BetaApi | ||
| @NullMarked | ||
| @AutoValue | ||
| public abstract class ResumableUploadStatus { |
There was a problem hiding this comment.
To prevent users from subclassing this AutoValue class outside of the package (which could bypass the immutability guarantees), it is a best practice to define a package-private constructor.
| public abstract class ResumableUploadStatus { | |
| public abstract class ResumableUploadStatus { | |
| ResumableUploadStatus() {} |
Sorry, something went wrong.
|
Sorry, something went wrong.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
These classes will provide library users a mechanism to track resumable upload progress.