Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide canonical way to create ImageRequest for local files
Summary: This change adds a canonical method `ImageRequest#fromFile` in order to allow developers not having to care about the correct way to create URIs for local files. Closes #1596 Reviewed By: oprisnik Differential Revision: D4386923 fbshipit-source-id: e2edc8f31b7dd2ea7698a5b1bba9fcd47da67923
- Loading branch information
1 parent
1d4461d
commit c6dcedc
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters