Enable or disable the native SwipeRefreshLayout gesture dynamically.
Enable or disable native swipe pull-to-refresh gestures at runtime. Useful for disabling pull-to-refresh on pages with their own scroll interactions (e.g. maps, carousels).
import nativine from 'nativine';
nativine.ui.setPullToRefresh(true);
import nativine from 'nativine';
nativine.ui.setPullToRefresh(false);