Skip to content
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 refreshcontrol error #361

Open
weinixuehao opened this issue Dec 13, 2023 · 0 comments
Open

Add refreshcontrol error #361

weinixuehao opened this issue Dec 13, 2023 · 0 comments

Comments

@weinixuehao
Copy link

        return <BigList
            data={listViewModel.data}
            style={{ flex: 1, backgroundColor: '#EEF0F4' }}
            renderItem={_renderRow}
            refreshing={listViewModel.loading}
            refreshControl={
                <RefreshControl 
                    onRefresh={() => {
                        console.log("====")
                    }}
                />
            }
        />
Argument 1 (BOOL) of RefreshControlManager.setNativeRefreshing must not be null

RCTLogArgumentError(RCTModuleMethod*, unsigned long, objc_object*, char const*)
    RCTModuleMethod.mm:67
__41-[RCTModuleMethod processMethodSignature]_block_invoke.164
-[RCTModuleMethod invokeWithBridge:module:arguments:]
-[RCTUIManager dispatchViewManagerCommand:commandID:commandArgs:]
__invoking___
-[NSInvocation invoke]
-[NSInvocation invokeWithTarget:]
-[RCTModuleMethod invokeWithBridge:module:arguments:]
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant