Check if screen is getting blurred or focus in React native?

前端 未结 0 1664
花落未央
花落未央 2021-01-05 13:21

i am using this

useEffect(() => {
        const navFocusListener = navigation.addListener(\'didFocus\', () => {
        console.log(\'focus\');
    });
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题