Fragment navigation

hi guys. I am new here. Can you please explain to me what is the difference between this two??
Are they doing the same action?

Thanks!

According to this, they appear to be equivalent: https://developer.android.com/reference/androidx/navigation/NavController#navigate(int)

thanks a lot. It helps!