-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Add Uri.empty
constant representing an empty URI, equivalent to ""
#798
Conversation
e29ec88
to
66ebc53
Compare
Is new the right name here? What does an empty URI mean? |
As string, this constant represents
|
66ebc53
to
a9da516
Compare
Great, that's very helpful thank you. Let's add that 'equivalent to ""', like in the Android docs there, I think that is a lot clearer. Could you remove one of the two examples please, it's quite verbose showing the same thing twice, and the HTML documentation and the link to the code already show the structure. |
a9da516
to
f8fd60c
Compare
Uri.empty
constantUri.empty
constant representing an empty URI, equivalent to ""
da99223
to
8632326
Compare
Uri.empty
constant representing an empty URI, equivalent to ""Uri.empty
constant representing an empty URI, equivalent to ""
Ok, done! :) Updated one example to use the And changed two examples to use secure |
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.
Thank you!
This PR is regarding issues #619 and #618. More specifically: #619 (comment).
It introduces a
Uri.empty
constant, useful as a starting point for constructing URIs with minimal boilerplate.Examples