79132981

Date: 2024-10-28 10:35:02
Score: 0.5
Natty:
Report link

Please change launchWhenResumed to launch because launch will work only when the fragment resumes.

private fun reloadWebViewOnClick(){
    //webview reload
    lifecycleScope.launch {
        launch(Dispatchers.Main) {
            binding?.webview?.reload()
        }
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Azeem Haider