Application en fragment

requireActivity().application
android developer