Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl-react-native-v2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
gl-react-native-v2
Commits
0cde4554
Commit
0cde4554
authored
Oct 11, 2016
by
Gaëtan Renaudeau
Committed by
GitHub
Oct 11, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #118 from olofd/partialLoadBlock
Add new param for partialLoadBlock in imageloader
parents
e5fcde60
029d9c19
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ios/GLImage.m
ios/GLImage.m
+1
-0
No files found.
ios/GLImage.m
View file @
0cde4554
...
@@ -86,6 +86,7 @@ RCT_NOT_IMPLEMENTED(-init)
...
@@ -86,6 +86,7 @@ RCT_NOT_IMPLEMENTED(-init)
clipped:
YES
clipped:
YES
resizeMode:
RCTResizeModeStretch
resizeMode:
RCTResizeModeStretch
progressBlock:
nil
progressBlock:
nil
partialLoadBlock:
nil
completionBlock:
^
(
NSError
*
error
,
UIImage
*
loadedImage
)
{
completionBlock:
^
(
NSError
*
error
,
UIImage
*
loadedImage
)
{
GLImage
*
strongSelf
=
weakSelf
;
GLImage
*
strongSelf
=
weakSelf
;
void
(
^
setImageBlock
)(
UIImage
*
)
=
^
(
UIImage
*
image
)
{
void
(
^
setImageBlock
)(
UIImage
*
)
=
^
(
UIImage
*
image
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment