Use commands instead of setNativeProps for AndroidSwipeRefreshLayout

Summary:
As a part of the migration from setNativeProps in Fabric and Paper, we are replacing it by view commands in the RefreshControl component on Android.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D18475450

fbshipit-source-id: ad89547fada3444f725fd9b00e8482cfc8f4d7fc
This commit is contained in:
Oleksandr Melnykov authored and Facebook Github Bot committed 2020-01-14 03:53:57 -08:00
1 parent 461d68e656
commit 1e6e37a3a8
2 files changed
+25 -17

No files matched your search

@@ -116,6 +116,7 @@ class RefreshControlExample extends React.Component {
exports.title = '<RefreshControl>';
exports.description = 'Adds pull-to-refresh support to a scrollview.';
exports.simpleExampleContainer = true;
exports.examples = [
{
title: 'Simple refresh',